| 1 | vlib/v/checker/tests/implements_generic_err.vv:12:31: error: missing generic type on IB |
| 2 | 10 | } |
| 3 | 11 | |
| 4 | 12 | struct Foo1[T] implements IA, IB { |
| 5 | | ~~ |
| 6 | 13 | a int |
| 7 | 14 | b T |
| 8 | vlib/v/checker/tests/implements_generic_err.vv:17:31: error: unknown generic type Y |
| 9 | 15 | } |
| 10 | 16 | |
| 11 | 17 | struct Foo2[T] implements IA, IB[Y] { |
| 12 | | ~~ |
| 13 | 18 | a int |
| 14 | 19 | b T |
| 15 | vlib/v/checker/tests/implements_generic_err.vv:22:31: error: unknown generic type Y |
| 16 | 20 | } |
| 17 | 21 | |
| 18 | 22 | struct Foo3[T] implements IA, IB[T,Y] { |
| 19 | | ~~ |
| 20 | 23 | a int |
| 21 | 24 | b T |
| 22 | |