diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-26 01:31:20 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-26 01:31:20 +0000 |
commit | 4b4d150fb289ab91923c8ae6db80e9cc5e33062c (patch) | |
tree | 4c840cc47e808409c7d300922ab1a3372bb242f6 /insns.def | |
parent | ddf50719d684bda70148a283af1e3e6abd616efe (diff) | |
download | ruby-4b4d150fb289ab91923c8ae6db80e9cc5e33062c.tar.gz ruby-4b4d150fb289ab91923c8ae6db80e9cc5e33062c.tar.xz ruby-4b4d150fb289ab91923c8ae6db80e9cc5e33062c.zip |
* test/ruby/test_eval.rb (TestEval::test_instance_eval_cvar):
updated not to modify class variable of Object class.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -184,8 +184,7 @@ getclassvariable () (VALUE val) { - VALUE klass = vm_get_cvar_base(th, GET_ISEQ()); - val = rb_cvar_get(klass, id); + val = rb_cvar_get(vm_get_cvar_base(th, GET_ISEQ()), id); } /** |