| 1 | vlib/v/checker/tests/match_ranges_not_same_cast_err.vv:6:2: error: the low and high parts of a range expression, should have matching types |
| 2 | 4 | c := u16(3) |
| 3 | 5 | match c { |
| 4 | 6 | a...b { println('1...5') } |
| 5 | | ~~~~~ |
| 6 | 7 | else { println('not 1...5') } |
| 7 | 8 | } |
| 8 | Details: |
| 9 | low part type: u16 |
| 10 | high part type: u8 |
| 11 |