checker: fix fn_args test

pull/9741/head
Alexander Medvednikov 2021-04-15 06:51:48 +03:00
parent a18f85c8cd
commit 7df996e5e5
1 changed files with 2 additions and 2 deletions

View File

@ -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() {
6 | v := 4
7 | uu8(&v)
| ~~
| ~~
8 | arr([5]!)
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`