From 7df996e5e5e0aede9105b64ae68ddad2e3b5ce19 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 15 Apr 2021 06:51:48 +0300 Subject: [PATCH] checker: fix fn_args test --- vlib/v/checker/tests/fn_args.out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/v/checker/tests/fn_args.out b/vlib/v/checker/tests/fn_args.out index fd5f670d87..c5e82d8ce0 100644 --- a/vlib/v/checker/tests/fn_args.out +++ b/vlib/v/checker/tests/fn_args.out @@ -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`