mirror of
https://github.com/Nexoniarz/Finch.git
synced 2026-11-03 00:44:27 +00:00
7 lines
138 B
Text
7 lines
138 B
Text
// expect: a key was added to the map while looping over it
|
|
fn main() {
|
|
m := ["a": 1]
|
|
for k in m {
|
|
m[k + "!"] = 2
|
|
}
|
|
}
|