vxx2 / vlib / v / checker / tests / match_duplicate_branch_mixed_int_literals.out
14 lines · 14 sloc · 597 bytes · 178dfbf872faa8e759f28a764ef448b5f0286ac7
Raw
1vlib/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 | }
8vlib/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