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

ci: fix the content of mut_int.out

This commit is contained in:
Delyan Angelov 2021-03-26 15:02:30 +02:00
parent 87494fad1d
commit 7e6c511e06
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1,4 +1,4 @@
vlib/v/checker/tests/mut_int.vv:1:14: error: mutable arguments are only allowed for arrays, interfaces, maps, pointers and structs
vlib/v/checker/tests/mut_int.vv:1:14: 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 foo(mut x int) {
| ~~~