From a38fc89150c64d2808586f0caf1fceec1f21f9d4 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 26 Mar 2021 15:06:29 +0200 Subject: [PATCH] ci: fix the content of function_arg_mutable_err.out --- vlib/v/checker/tests/function_arg_mutable_err.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/checker/tests/function_arg_mutable_err.out b/vlib/v/checker/tests/function_arg_mutable_err.out index 0e33e876b1..e676a785be 100644 --- a/vlib/v/checker/tests/function_arg_mutable_err.out +++ b/vlib/v/checker/tests/function_arg_mutable_err.out @@ -1,4 +1,4 @@ -vlib/v/checker/tests/function_arg_mutable_err.vv:1:18: error: mutable arguments are only allowed for arrays, interfaces, maps, pointers and structs +vlib/v/checker/tests/function_arg_mutable_err.vv:1:18: error: mutable arguments are only allowed for arrays, interfaces, maps, pointers, structs or their aliases return values instead: `fn foo(mut n int) {` => `fn foo(n int) int {` 1 | fn mod_ptr(mut a int) { | ~~~