summaryrefslogtreecommitdiff
path: root/infer.c
diff options
context:
space:
mode:
Diffstat (limited to 'infer.c')
-rw-r--r--infer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/infer.c b/infer.c
index 544ca78..348b43b 100644
--- a/infer.c
+++ b/infer.c
@@ -33,8 +33,8 @@ static bool infer_from_expr(Typer *tr, Expression *match, Expression *to, Identi
case EXPR_CALL: {
if (!types_expr(tr, match->call.fn))
return false;
- if (type_is_builtin(&match->call.fn->type, BUILTIN_TYPE)) {
- /* it's a parameterized struct */
+ if (type_is_builtin(&match->call.fn->type, BUILTIN_TYPE)) {
+ /* it's a parameterized struct */
Value fn_val;
if (!eval_expr(tr->evalr, to, &fn_val))
return false;