diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-23 15:14:28 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-23 15:14:28 +0000 |
commit | 0869399cbf26c16c3226f338661da87882418ff8 (patch) | |
tree | 68824a34a64308058eac860155bb53140d5f09bb /lib/debug.rb | |
parent | c0648ecc85c307388895bc420b2eb61ab46966b2 (diff) |
* eval.c (svalue_to_avalue): new conversion scheme between single
value and array values.
* eval.c (avalue_to_svalue): ditto.
* eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return
and yield too.
* eval.c (rb_yield_0): use avalue_to_svalue().
* eval.c (proc_invoke): Proc#call gives avaules, whereas
Proc#yield gives mvalues.
* eval.c (bmcall): convert given value (svalue) to avalue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/debug.rb')
-rw-r--r-- | lib/debug.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debug.rb b/lib/debug.rb index 9e777952ad..2216f3a4df 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -195,7 +195,7 @@ class DEBUGGER__ when /^\s*i(?:nstance)?\s+/ obj = debug_eval($', binding) - var_list(obj.instance_variables, binding) + var_list(obj.instance_variables, obj.instance_eval{binding()}) when /^\s*c(?:onst(?:ant)?)?\s+/ obj = debug_eval($', binding) |