v4 / vlib / v / checker / tests / match_expr_with_none_only.vv
6 lines · 6 sloc · 62 bytes · 2cd1f6e924ed91e30a25cc6621b301aa9b0a3f77
Raw
1fn main() {
2 a := match 1 {
3 1 { none }
4 else { none }
5 }
6}
7