aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/type_check.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/type_check.cc b/boot/type_check.cc
index 5cdd2a2..eee5b42 100644
--- a/boot/type_check.cc
+++ b/boot/type_check.cc
@@ -1417,6 +1417,7 @@ namespace elna::boot
(*argument_iterator)->type_decoration,
type_mismatch_error::expected_type{ *type_iterator });
}
+ call->argument_types.push_back(*type_iterator);
++argument_iterator;
++type_iterator;
}
@@ -1426,7 +1427,7 @@ namespace elna::boot
{
(*argument_iterator)->accept(this);
}
- call->variadic_types.push_back(promote_variadic_argument(**argument_iterator));
+ call->argument_types.push_back(promote_variadic_argument(**argument_iterator));
++argument_iterator;
}
if (call->arguments.size() < procedure->parameters.size()