diff options
Diffstat (limited to 'toc.c')
-rw-r--r-- | toc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ static Type *type_user_underlying(Type *t) { assert(t->kind == TYPE_USER); + assert(t->flags & TYPE_IS_RESOLVED); Declaration *d = t->user.decl; assert(d->flags & DECL_FOUND_VAL); return (d->type.kind == TYPE_TUPLE ? d->val.tuple[t->user.index] : d->val).type; |