| 1 | vlib/v/checker/tests/match_duplicate_branch_mixed_int_literals.vv:3:3: error: match case `10` is handled more than once |
| 2 | 1 | fn parse(ch u8) ! { |
| 3 | 2 | match ch { |
| 4 | 3 | ` `, `\t`, `\n`, 10 { |
| 5 | | ~~~~~~~~~~~~~~~~~~~ |
| 6 | 4 | // consume blanks |
| 7 | 5 | } |
| 8 | vlib/v/checker/tests/match_duplicate_branch_mixed_int_literals.vv:17:3: error: match case `10` is handled more than once |
| 9 | 15 | fn parse_cast(ch u8) ! { |
| 10 | 16 | match ch { |
| 11 | 17 | `\n`, u8(10) { |
| 12 | | ~~~~~~~~~~~~ |
| 13 | 18 | println('line feed') |
| 14 | 19 | } |
| 15 | |