8 lines
318 B
Plaintext
8 lines
318 B
Plaintext
|
vlib/v/checker/tests/match_cond_with_parenthesis_err.vv:14:15: error: unnecessary `()` in `match` condition, use `match expr {` instead of `match (expr) {`.
|
||
|
12 |
|
||
|
13 | fn bar() bool {
|
||
|
14 | return match (foo()) {
|
||
|
| ~~~~~~~
|
||
|
15 | .a { true }
|
||
|
16 | .b, .c { false }
|