fix create map

This commit is contained in:
2023-07-19 00:13:44 +01:00
parent 44e261bf70
commit 0f2a9b34e9

View File

@@ -46,7 +46,7 @@ func runCreateMap(m createMap, stack stack, stacklevel int) (any, ArErr) {
} }
newmap[keyVal] = valVal newmap[keyVal] = valVal
} }
return newmap, ArErr{} return Map(newmap), ArErr{}
} }
func parseMap(code UNPARSEcode, index int, codelines []UNPARSEcode) (any, bool, ArErr, int) { func parseMap(code UNPARSEcode, index int, codelines []UNPARSEcode) (any, bool, ArErr, int) {