Fix slice and dynamic array lengths determined from ranged compound literals

This commit is contained in:
gingerBill
2019-10-26 14:43:06 +01:00
parent c7cb754514
commit 14e8b299b7
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ enum StmtAllowFlag {
Ast *type; \
Array<Ast *> elems; \
Token open, close; \
i64 max_index; \
i64 max_count; \
}) \
AST_KIND(_ExprBegin, "", bool) \
AST_KIND(BadExpr, "bad expression", struct { Token begin, end; }) \