v/vlib/v/checker/tests/if_guard_variables_err.out

15 lines
495 B
Plaintext

vlib/v/checker/tests/if_guard_variables_err.vv:6:2: error: if guard expects 3 variables, but got 1
4 |
5 | fn main() {
6 | if r1 := create() {
| ~~~~~~~~~~~~~~~~~
7 | println(r1)
8 | }
vlib/v/checker/tests/if_guard_variables_err.vv:10:2: error: if guard expects 3 variables, but got 4
8 | }
9 |
10 | if r1, r2, r3, r4 := create() {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 | println(r1)
12 | println(r2)