v/vlib/v/checker/tests/match_undefined_cond.out

22 lines
721 B
Plaintext

vlib/v/checker/tests/match_undefined_cond.vv:4:15: error: undefined ident: `Asd`
2 |
3 | fn main() {
4 | res := match Asd {
| ~~~
5 | 1 { 'foo' }
6 | 2 { 'test' }
vlib/v/checker/tests/match_undefined_cond.vv:5:3: error: cannot match `void` with `int literal`
3 | fn main() {
4 | res := match Asd {
5 | 1 { 'foo' }
| ^
6 | 2 { 'test' }
7 | else { '' }
vlib/v/checker/tests/match_undefined_cond.vv:6:3: error: cannot match `void` with `int literal`
4 | res := match Asd {
5 | 1 { 'foo' }
6 | 2 { 'test' }
| ^
7 | else { '' }
8 | }