summaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-10-11 14:40:33 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-10-11 14:40:33 -0400
commitbfc7a22d0674371995c21fde5463bf08edbaabe2 (patch)
tree27201080c9a2c54202f57b275e6cbf6f0c9e0da3 /types.c
parent3498c55279ade0a0f5fe9e2fad1c983e8328db72 (diff)
stating to make returns work for out param fns
Diffstat (limited to 'types.c')
-rw-r--r--types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types.c b/types.c
index dfda38b..8426b3b 100644
--- a/types.c
+++ b/types.c
@@ -927,7 +927,7 @@ static bool types_expr(Typer *tr, Expression *e) {
}
break;
}
-
+ e->type.flags |= TYPE_FLAG_RESOLVED;
return true;
}