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

gen: use new_map, new_map_init_1 functions (#7444)

This commit is contained in:
Nick Treleaven
2020-12-21 13:37:19 +00:00
committed by GitHub
parent 8eac658ed1
commit 0edec06eac
3 changed files with 9 additions and 6 deletions

View File

@@ -460,5 +460,6 @@ fn test_map_or() {
'second': 2
'third': 3
}
_ = m
// num := m['first'] or { return }
}