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:
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() {
|
||||
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`
|
||||
|
Loading…
Reference in New Issue
Block a user