1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: fix fn_args test

This commit is contained in:
Alexander Medvednikov 2021-04-15 06:51:48 +03:00
parent a18f85c8cd
commit 7df996e5e5

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`