mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix for mut val and enable the test
This commit is contained in:
@@ -56,12 +56,10 @@ fn test_for_char_in_map() {
|
||||
}
|
||||
|
||||
fn test_mut_for() {
|
||||
/*
|
||||
mut vals := [1, 2, 3]
|
||||
for mut val in vals {
|
||||
(*val)++
|
||||
}
|
||||
assert vals == [2, 3, 4]
|
||||
println(vals)
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user