1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Files
v/vlib/v/checker/tests/if_match_expr_err.out
2020-10-03 16:30:58 +03:00

8 lines
247 B
Plaintext

vlib/v/checker/tests/if_match_expr_err.vv:3:8: error: cannot use `match` with `if` statements
1 | fn main() {
2 | a := 0
3 | if match a {
| ~~~~~
4 | 0 {
5 | println('a is zero')