diff options
-rw-r--r-- | src/scope.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scope.cc b/src/scope.cc index 95347c8d..2b9851b0 100644 --- a/src/scope.cc +++ b/src/scope.cc @@ -88,8 +88,7 @@ value_t& call_scope_t::resolve(const std::size_t index, value = as_expr(value)->calc(scope, locus, depth); if (required && ! value.is_type(context)) throw_(calc_error, _("Expected %1 for argument %2, but received %3") - << value.label(context) << index - << value.label()); + << value.label(context) << index << value.label()); } return value; } |