1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/checker/tests/match_undefined_cond.out
2020-11-11 09:18:15 +01:00

22 lines
732 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 `any_int` with `void` condition
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 `any_int` with `void` condition
4 | res := match Asd {
5 | 1 { 'foo' }
6 | 2 { 'test' }
| ^
7 | else { '' }
8 | }