v2 / vlib / v / checker / tests / comptime_call_no_unused_var.out
34 lines · 34 sloc · 1.1 KB · 1512486d01d4205e7b67ebd679238fa45cd348af
Raw
1vlib/v/checker/tests/comptime_call_no_unused_var.vv:11:8: error: unknown identifier `w`
2 9 | abc := 'print'
3 10 | test.$abc() // OK
4 11 | test.$w()
5 | ^
6 12 | v := 4
7 13 | test.$v()
8vlib/v/checker/tests/comptime_call_no_unused_var.vv:13:8: error: invalid string method call: expected `string`, not `int`
9 11 | test.$w()
10 12 | v := 4
11 13 | test.$v()
12 | ^
13 14 | s := 'x' + 'y'
14 15 | test.$s()
15vlib/v/checker/tests/comptime_call_no_unused_var.vv:15:8: error: todo: not a string literal
16 13 | test.$v()
17 14 | s := 'x' + 'y'
18 15 | test.$s()
19 | ^
20 16 | s2 := 'x'
21 17 | test.$s2()
22vlib/v/checker/tests/comptime_call_no_unused_var.vv:15:8: error: could not find method ``
23 13 | test.$v()
24 14 | s := 'x' + 'y'
25 15 | test.$s()
26 | ^
27 16 | s2 := 'x'
28 17 | test.$s2()
29vlib/v/checker/tests/comptime_call_no_unused_var.vv:17:8: error: could not find method `x`
30 15 | test.$s()
31 16 | s2 := 'x'
32 17 | test.$s2()
33 | ~~
34 18 | }
35