diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-18 07:27:53 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-18 07:27:53 -0400 |
commit | a961f15f0004d55ea0a22a643d12a09930829974 (patch) | |
tree | ea689a944241d2139444cdd9c99ae932312f6af1 /src/scope.h | |
parent | 9205809d4978ba6673fd759546375c26a156c09e (diff) | |
download | fork-ledger-a961f15f0004d55ea0a22a643d12a09930829974.tar.gz fork-ledger-a961f15f0004d55ea0a22a643d12a09930829974.tar.bz2 fork-ledger-a961f15f0004d55ea0a22a643d12a09930829974.zip |
Fixed bug that had broken any() and all()
Diffstat (limited to 'src/scope.h')
-rw-r--r-- | src/scope.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<scope_t *>(std::size_t index, bool) { template <> inline expr_t::ptr_op_t call_scope_t::get<expr_t::ptr_op_t>(std::size_t index, bool) { - return resolve(index, value_t::ANY).as_any<expr_t::ptr_op_t>(); + return args[index].as_any<expr_t::ptr_op_t>(); } class value_scope_t : public scope_t |