map string keys and for iterator

This commit is contained in:
Ginger Bill
2017-02-06 20:54:51 +00:00
parent c126339090
commit f11d73ffaa
5 changed files with 82 additions and 14 deletions
+5
View File
@@ -723,6 +723,11 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
val = t->Vector.elem;
idx = t_int;
break;
case Type_Map:
val = t->Map.value;
idx = t->Map.key;
break;
}
}