checker: fix fn_args test
parent
a18f85c8cd
commit
7df996e5e5
|
@ -1,8 +1,8 @@
|
||||||
vlib/v/checker/tests/fn_args.vv:7:5: error: cannot use `&int` as `byte` in argument 1 to `u8`
|
vlib/v/checker/tests/fn_args.vv:7:6: error: cannot use `&int` as `byte` in argument 1 to `uu8`
|
||||||
5 | fn basic() {
|
5 | fn basic() {
|
||||||
6 | v := 4
|
6 | v := 4
|
||||||
7 | uu8(&v)
|
7 | uu8(&v)
|
||||||
| ~~
|
| ~~
|
||||||
8 | arr([5]!)
|
8 | arr([5]!)
|
||||||
9 | fun(fn(i &int){})
|
9 | fun(fn(i &int){})
|
||||||
vlib/v/checker/tests/fn_args.vv:8:6: error: cannot use `[1]int` as `[]int` in argument 1 to `arr`
|
vlib/v/checker/tests/fn_args.vv:8:6: error: cannot use `[1]int` as `[]int` in argument 1 to `arr`
|
||||||
|
|
Loading…
Reference in New Issue