You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vlib/v/checker/tests/generics_field_struct_arr_err.vv:26:7: error: `Callback` type is generic sumtype, must specify the generic type names, e.g. Callback[T], Callback[int]
2
+
24 | v T
3
+
25 | prev T
4
+
26 | cb []Callback // sumtype
5
+
| ~~~~~~~~~~
6
+
27 | cb2 []CBvret2 // alias
7
+
28 | cb3 []Test // struct
8
+
vlib/v/checker/tests/generics_field_struct_arr_err.vv:27:7: error: `CBvret2` type is generic fn type, must specify the generic type names, e.g. CBvret2[T], CBvret2[int]
9
+
25 | prev T
10
+
26 | cb []Callback // sumtype
11
+
27 | cb2 []CBvret2 // alias
12
+
| ~~~~~~~~~
13
+
28 | cb3 []Test // struct
14
+
29 | }
15
+
vlib/v/checker/tests/generics_field_struct_arr_err.vv:28:7: error: `Test` type is generic struct, must specify the generic type names, e.g. Test[T], Test[int]
0 commit comments