12 lines
462 B
Plaintext
12 lines
462 B
Plaintext
vlib/v/checker/tests/interface_generic_err.vv:7:9: error: generic struct init must specify type parameter, e.g. Foo<int>
|
|
5 |
|
|
6 | // no segfault without generic
|
|
7 | what := What{}
|
|
| ~~~~~~
|
|
8 | why := Why(what)
|
|
vlib/v/checker/tests/interface_generic_err.vv:8:8: error: could not infer generic type `T` in interface `Why`
|
|
6 | // no segfault without generic
|
|
7 | what := What{}
|
|
8 | why := Why(what)
|
|
| ~~~~~~~~~
|