summaryrefslogtreecommitdiff
path: root/infer.c
diff options
context:
space:
mode:
Diffstat (limited to 'infer.c')
-rw-r--r--infer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/infer.c b/infer.c
index e4c8b98..ff875dc 100644
--- a/infer.c
+++ b/infer.c
@@ -47,6 +47,7 @@ static bool infer_from_expr(Typer *tr, Expression *match, Expression *to, Expres
}
}
#endif
+
while (to->kind == EXPR_IDENT) {
Identifier i = to->ident;
if (i->decl_kind == IDECL_DECL) {