checker: fix mut int test
parent
888a43a684
commit
00978da2c4
|
@ -1,6 +1,6 @@
|
||||||
vlib/v/checker/tests/mut_int.v:1:12: error: mutable arguments are only allowed for arrays, maps, and structs
|
vlib/v/checker/tests/mut_int.v:1:12: error: mutable arguments are only allowed for arrays, maps, and structs
|
||||||
return values instead: `fn foo(n mut int) {` => `fn foo(n int) int {`
|
return values instead: `fn foo(n mut int) {` => `fn foo(n int) int {`
|
||||||
1 | fn foo(mut x int) {
|
1 | fn foo(mut x int) {
|
||||||
| ^
|
| ^
|
||||||
2 | }
|
2 | }
|
||||||
3 |
|
3 |
|
||||||
|
|
Loading…
Reference in New Issue