This commit is contained in:
gingerBill
2017-11-30 19:53:40 +00:00
parent 04cce1826b
commit e00d88d82e
3 changed files with 9 additions and 3 deletions

View File

@@ -623,6 +623,7 @@ void check_assignment(Checker *c, Operand *operand, Type *type, String context_n
if (operand->mode == Addressing_Invalid) {
return;
}
#if 0
if (operand->mode == Addressing_Type) {
Type *t = base_type(type);
@@ -665,6 +666,7 @@ void check_assignment(Checker *c, Operand *operand, Type *type, String context_n
}
}
if (type == nullptr) {
return;
}