diff --git a/src/scope.h b/src/scope.h index 07b6bebe..dac6eba3 100644 --- a/src/scope.h +++ b/src/scope.h @@ -602,7 +602,7 @@ inline scope_t * call_scope_t::get(std::size_t index, bool) { template <> inline expr_t::ptr_op_t call_scope_t::get(std::size_t index, bool) { - return resolve(index, value_t::ANY).as_any(); + return args[index].as_any(); } class value_scope_t : public scope_t