v2 / vlib / v / checker / tests / func_with_static_keyword_err.out
12 lines · 12 sloc · 396 bytes · 39f419139e7799a8bf6c1e1abf57954fa06cf694
Raw
1vlib/v/checker/tests/func_with_static_keyword_err.vv:6:2: warning: unused variable: `a`
2 4 |
3 5 | fn main() {
4 6 | a := a__static__b()
5 | ^
6 7 | }
7vlib/v/checker/tests/func_with_static_keyword_err.vv:6:4: error: assignment mismatch: 1 variable but `a__static__b()` returns 2 values
8 4 |
9 5 | fn main() {
10 6 | a := a__static__b()
11 | ~~
12 7 | }
13