mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix mutable array args
This commit is contained in:
@ -449,6 +449,9 @@ fn test_filter() {
|
||||
}
|
||||
|
||||
fn test_map() {
|
||||
// QTODO
|
||||
println(1)
|
||||
/*
|
||||
a := [1, 2, 3, 4, 5, 6]
|
||||
b := a.map(it * 10)
|
||||
assert b.len == 6
|
||||
@ -465,6 +468,7 @@ fn test_map() {
|
||||
assert bools[0] == true
|
||||
assert bools[1] == false
|
||||
assert bools[2] == false
|
||||
*/
|
||||
}
|
||||
|
||||
fn test_array_str() {
|
||||
|
Reference in New Issue
Block a user