mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
11 lines
113 B
V
11 lines
113 B
V
fn test_map_literals_method_call() {
|
|
a := 1 in {
|
|
1: 1
|
|
}.keys().map({
|
|
1: 1
|
|
}[it])
|
|
|
|
println(a)
|
|
assert a
|
|
}
|