summaryrefslogtreecommitdiff
path: root/infer.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-14 15:02:29 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-14 15:02:29 -0400
commit6b62b3caada6ce2859dfda24d6eb6fb273ca1a3f (patch)
tree6f822e745a4d60f229284d3f821c5d82145d8f6d /infer.c
parentb3e83e42b63ca7f4e8e38e3dae9a14c1de531c07 (diff)
fixed indentation
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;