v2 / vlib / v / checker / tests / check_incompatible_struct.out
14 lines · 14 sloc · 465 bytes · 2261606b56afac2d43c6c08c2f329b4088b35c12
Raw
1vlib/v/checker/tests/check_incompatible_struct.vv:17:6: error: struct `Foo` is not compatible with struct `Bar`
2 15 | }
3 16 | bar3 := Bar{
4 17 | ...foo
5 | ~~~
6 18 | b: 1
7 19 | }
8vlib/v/checker/tests/check_incompatible_struct.vv:26:6: error: struct `Foo` is not compatible with struct `Bar`
9 24 | }
10 25 | bar := Bar{
11 26 | ...foo
12 | ~~~
13 27 | }
14 28 | print(bar)
15