diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-03 06:48:06 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-03 06:48:06 +0000 |
| commit | 61310976a12f50417b39417197e12f797301abfe (patch) | |
| tree | 1bd507ac5bcb0c59f0ef86ce8a8cc53e583fcaae /test/ruby/test_optimization.rb | |
| parent | d3b20c41214e11d76c0983a3db6e1761250b05cc (diff) | |
| download | ruby-61310976a12f50417b39417197e12f797301abfe.tar.gz ruby-61310976a12f50417b39417197e12f797301abfe.tar.xz ruby-61310976a12f50417b39417197e12f797301abfe.zip | |
* variable.c (rb_cvar_set): check whether class variable is
defined in superclasses. root classes have higher priority.
removes lower class variable entry from IV_TBL (if it's defined
in classes, not modules).
* variable.c (rb_cvar_get): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_optimization.rb')
0 files changed, 0 insertions, 0 deletions
