From a961f15f0004d55ea0a22a643d12a09930829974 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 18 Jun 2010 07:27:53 -0400 Subject: Fixed bug that had broken any() and all() --- src/scope.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scope.h') 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 -- cgit v1.2.3