summaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.c b/types.c
index 6bdf9fa..8a097f7 100644
--- a/types.c
+++ b/types.c
@@ -501,6 +501,7 @@ static bool type_resolve(Typer *tr, Type *t, Location where) {
Value typeval;
if (!types_expr(tr, t->expr))
return false;
+ print_expr(t->expr);
t->was_expr = t->expr;
if (!eval_expr(tr->evalr, t->expr, &typeval))
return false;