vxx2 / vlib / v / checker / tests / str_interpol_invalid_err.out
55 lines · 55 sloc · 2.18 KB · e2e5cf8db56f3562c7baa735061690be936bdf3e
Raw
1vlib/v/checker/tests/str_interpol_invalid_err.vv:8:13: error: illegal format specifier `x` for type `[]int`
2 6 |
3 7 | fn main() {
4 8 | _ = '${[1]:x}'
5 | ^
6 9 | _ = '${[1]!:x}'
7 10 | _ = '${Foo{}:x}'
8vlib/v/checker/tests/str_interpol_invalid_err.vv:9:14: error: illegal format specifier `x` for type `[1]int`
9 7 | fn main() {
10 8 | _ = '${[1]:x}'
11 9 | _ = '${[1]!:x}'
12 | ^
13 10 | _ = '${Foo{}:x}'
14 11 | _ = '${[1]:f}'
15vlib/v/checker/tests/str_interpol_invalid_err.vv:10:15: error: illegal format specifier `x` for type `Foo`
16 8 | _ = '${[1]:x}'
17 9 | _ = '${[1]!:x}'
18 10 | _ = '${Foo{}:x}'
19 | ^
20 11 | _ = '${[1]:f}'
21 12 | _ := '${none:F}'
22vlib/v/checker/tests/str_interpol_invalid_err.vv:11:13: error: illegal format specifier `f` for type `[]int`
23 9 | _ = '${[1]!:x}'
24 10 | _ = '${Foo{}:x}'
25 11 | _ = '${[1]:f}'
26 | ^
27 12 | _ := '${none:F}'
28 13 | _ = '${{"a": "b"}:x}'
29vlib/v/checker/tests/str_interpol_invalid_err.vv:12:15: error: illegal format specifier `F` for type `none`
30 10 | _ = '${Foo{}:x}'
31 11 | _ = '${[1]:f}'
32 12 | _ := '${none:F}'
33 | ^
34 13 | _ = '${{"a": "b"}:x}'
35 14 | _ = '${Alias(Foo{}):x}'
36vlib/v/checker/tests/str_interpol_invalid_err.vv:13:20: error: illegal format specifier `x` for type `map[string]string`
37 11 | _ = '${[1]:f}'
38 12 | _ := '${none:F}'
39 13 | _ = '${{"a": "b"}:x}'
40 | ^
41 14 | _ = '${Alias(Foo{}):x}'
42 15 | _ = '${SumType(int(5)):o}'
43vlib/v/checker/tests/str_interpol_invalid_err.vv:14:22: error: illegal format specifier `x` for type `Alias`
44 12 | _ := '${none:F}'
45 13 | _ = '${{"a": "b"}:x}'
46 14 | _ = '${Alias(Foo{}):x}'
47 | ^
48 15 | _ = '${SumType(int(5)):o}'
49 16 | }
50vlib/v/checker/tests/str_interpol_invalid_err.vv:15:25: error: illegal format specifier `o` for type `SumType`
51 13 | _ = '${{"a": "b"}:x}'
52 14 | _ = '${Alias(Foo{}):x}'
53 15 | _ = '${SumType(int(5)):o}'
54 | ^
55 16 | }
56