v2 / vlib / v / checker / tests / const_match_range_invalid_err.out
14 lines · 14 sloc · 489 bytes · a9b41d298095cf7814e9597dfb0f6b9abdd1686b
Raw
1vlib/v/checker/tests/const_match_range_invalid_err.vv:6:2: error: the start value `10` should be lower than the end value `1`
2 4 |
3 5 | match 5 {
4 6 | end...start {
5 | ~~~~~~~~~~~
6 7 | println(start)
7 8 | }
8vlib/v/checker/tests/const_match_range_invalid_err.vv:13:2: error: the start value `10` should be lower than the end value `1`
9 11 |
10 12 | a := match 5 {
11 13 | end...start {
12 | ~~~~~~~~~~~
13 14 | 4
14 15 | }
15