diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-02-19 21:40:41 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-02-19 21:40:41 -0500 |
commit | ad08aef58833b35d488dcad40a36cf237a4119c7 (patch) | |
tree | cc876d4c38250dbf9272a723a6fb275e652894a6 /types.c | |
parent | 98585d13741499bb370e9c9bedd0d2c390905f21 (diff) |
more struct params
Diffstat (limited to 'types.c')
-rw-r--r-- | types.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -581,6 +581,7 @@ static bool type_resolve_(Typer *tr, Type *t, Location where, bool is_reference) } } typer_block_exit(tr); + assert(tr->block != &t->struc->scope); t->struc->instance_id = 0; t->struc->flags |= STRUCT_DEF_RESOLVED; } |