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 3188692..a403e38 100644
--- a/types.c
+++ b/types.c
@@ -1331,6 +1331,7 @@ static bool types_expr(Typer *tr, Expression *e) {
arg_exprs[i].type = table_index_type.tuple[i+1] = param_types[i] = param->type;
arg_exprs[i].val = table_index.tuple[i+1] = param->val;
params_set[i] = true;
+ ++i;
continue;
}
assert(param->flags & DECL_HAS_EXPR);