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_decl.c | |
| parent | 3f023509a7184a9146853e23b189c1a079323143 (diff) | |
Fix issue #10
Diffstat (limited to 'src/check_decl.c')
| -rw-r--r-- | src/check_decl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_decl.c b/src/check_decl.c index dd112d76c..600b4c0d6 100644 --- a/src/check_decl.c +++ b/src/check_decl.c @@ -40,6 +40,7 @@ Type *check_init_variable(Checker *c, Entity *e, Operand *operand, String contex } t = default_type(t); } + GB_ASSERT(is_type_typed(t)); e->type = t; } |