|
vlib/v/checker/tests/generics_method_receiver_type_err.vv:6:11: error: generic struct in fn declaration must specify the generic type names, e.g. Foo<T>
|
|
4 | }
|
|
5 |
|
|
6 | pub fn (x Node) str() string {
|
|
| ~~~~
|
|
7 | return 'Value is : ${u16(x.val)}\nName is : $x.name'
|
|
8 | }
|