This commit is contained in:
Ginger Bill
2017-01-20 00:21:40 +00:00
parent 3f023509a7
commit 6d93aa429f
7 changed files with 145 additions and 124 deletions
+1
View File
@@ -252,6 +252,7 @@ void check_assignment(Checker *c, Operand *operand, Type *type, String context_n
return;
}
target_type = default_type(operand->type);
GB_ASSERT(is_type_typed(target_type));
add_type_info_type(c, type);
add_type_info_type(c, target_type);
}