| 1 | vlib/v/checker/tests/match_expr_empty_branch.vv:2:2: notice: match is always true |
| 2 | 1 | _ := match true { |
| 3 | 2 | true { 0 } |
| 4 | | ~~~~ |
| 5 | 3 | false {} |
| 6 | 4 | } |
| 7 | vlib/v/checker/tests/match_expr_empty_branch.vv:3:2: notice: match is always false |
| 8 | 1 | _ := match true { |
| 9 | 2 | true { 0 } |
| 10 | 3 | false {} |
| 11 | | ~~~~~ |
| 12 | 4 | } |
| 13 | vlib/v/checker/tests/match_expr_empty_branch.vv:3:2: error: `match` expression requires an expression as the last statement of every branch |
| 14 | 1 | _ := match true { |
| 15 | 2 | true { 0 } |
| 16 | 3 | false {} |
| 17 | | ~~~~~~~~ |
| 18 | 4 | } |
| 19 |