12 lines
431 B
Plaintext
12 lines
431 B
Plaintext
|
vlib/v/checker/tests/generic_interface_err.vv:9:6: error: generic struct init must specify type parameter, e.g. Foo<int>
|
||
|
7 | }
|
||
|
8 |
|
||
|
9 | s := Struct{7}
|
||
|
| ~~~~~~~~~
|
||
|
10 | i := Interface(s)
|
||
|
vlib/v/checker/tests/generic_interface_err.vv:10:6: error: can not find method `method` on `Struct`, needed for interface: `Interface`
|
||
|
8 |
|
||
|
9 | s := Struct{7}
|
||
|
10 | i := Interface(s)
|
||
|
| ~~~~~~~~~~~~
|