diff options
Diffstat (limited to 'src/check_expr.c')
| -rw-r--r-- | src/check_expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_expr.c b/src/check_expr.c index d708b40a4..4b26ca990 100644 --- a/src/check_expr.c +++ b/src/check_expr.c @@ -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); } |