diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-01-20 00:21:40 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-01-20 00:21:40 +0000 |
| commit | 6d93aa429faba96415a7be135eb7296e69fb70a9 (patch) | |
| tree | 4b0120f4161185545fbb0b3dca2329802285da5e /src/check_expr.c | |
| parent | 3f023509a7184a9146853e23b189c1a079323143 (diff) | |
Fix issue #10
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); } |