vxx2 / vlib / v / checker / tests / wrong_comptime_for_err.out
28 lines · 28 sloc · 960 bytes · 0c8ce3bcb9fd4a2e5bd5f991a5a07da976d780d7
Raw
1vlib/v/checker/tests/wrong_comptime_for_err.vv:26:7: warning: unused variable: `f`
2 24 | }
3 25 | }
4 26 | $for f in a.variants {
5 | ^
6 27 | }
7 28 | $for f in T.variants {
8vlib/v/checker/tests/wrong_comptime_for_err.vv:28:7: warning: unused variable: `f`
9 26 | $for f in a.variants {
10 27 | }
11 28 | $for f in T.variants {
12 | ^
13 29 | }
14 30 | }
15vlib/v/checker/tests/wrong_comptime_for_err.vv:26:12: error: Foo is not Sum type to use with .variants
16 24 | }
17 25 | }
18 26 | $for f in a.variants {
19 | ^
20 27 | }
21 28 | $for f in T.variants {
22vlib/v/checker/tests/wrong_comptime_for_err.vv:28:12: error: $for expects a type name or variable name to be used here, but T is not a type or variable name
23 26 | $for f in a.variants {
24 27 | }
25 28 | $for f in T.variants {
26 | ^
27 29 | }
28 30 | }
29