vxx2 / vlib / v / checker / tests / match_last_branch_only_casted.out
7 lines · 7 sloc · 328 bytes · 68a639791e33b125957ec8ff90bff740a39af47c
Raw
1vlib/v/checker/tests/match_last_branch_only_casted.vv:6:10: error: the type of the last expression of the first match branch was `int literal`, which is not compatible with `u64`
2 4 | 'a' { 10 }
3 5 | 'b' { 500 }
4 6 | else { u64(345454) }
5 | ~~~~~~~~~~~
6 7 | }
7 8 |
8