mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 02:10:06 +00:00
map string keys and for iterator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user