Open BSteffaniak opened 2 years ago
targetMap.forEach((pair) => { if (!map.containsKey(pair.key)) { map[pair.key] = pair.value } if (pair.value.class?.isOfType(HashMap.class)) { let hashmap = (HashMap)pair.value // right here hashmap.forEach({ map[pair.key].add(_) }) } else { map[pair.key] = pair.value } })
But this parses the type correctly: let HashMap<String, Object> hashmap = (HashMap)pair.value
let HashMap<String, Object> hashmap = (HashMap)pair.value
But this parses the type correctly:
let HashMap<String, Object> hashmap = (HashMap)pair.value