Import cycle checking

This commit is contained in:
Ginger Bill
2017-08-27 14:42:19 +01:00
parent e5502c13ee
commit 6707c8750e
7 changed files with 418 additions and 251 deletions
+1 -1
View File
@@ -1757,7 +1757,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
}
}
check_arity_match(c, vd, false);
check_arity_match(c, vd);
check_init_variables(c, entities, entity_count, vd->values, str_lit("variable declaration"));
for (isize i = 0; i < entity_count; i++) {