v2 / vlib / v / checker / tests / cast_generic_err.out
18 lines · 18 sloc · 544 bytes · 3d60410b605d001e54f280070d5f952da9de1112
Raw
1vlib/v/checker/tests/cast_generic_err.vv:2:7: error: cannot cast literal value to [2]u8 type
2 1 | fn decode[T]() {
3 2 | _ := T(0)
4 | ~~~~
5 3 | }
6 4 |
7vlib/v/checker/tests/cast_generic_err.vv:2:7: error: cannot cast literal value to []u8 type
8 1 | fn decode[T]() {
9 2 | _ := T(0)
10 | ~~~~
11 3 | }
12 4 |
13vlib/v/checker/tests/cast_generic_err.vv:2:7: error: cannot cast literal value to map[int]u8 type
14 1 | fn decode[T]() {
15 2 | _ := T(0)
16 | ~~~~
17 3 | }
18 4 |
19