diff options
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -12,6 +12,22 @@ Fri Feb 2 18:27:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c: remove duplicated global variables rb_cProc and rb_cBinding. [ruby-dev:30242] +Thu Feb 1 20:53:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * vm.c (eval_get_cvar_base): destination for class variable access + is now strictly innermost surrounding class or module. warned + if accessed from toplevel. + + * variable.c (rb_cvar_get): new class variable look-up scheme: + 1) look up in the class. 2) if the class is singleton attached + to a class (i.e. metaclass) then start look up in the attached + class and its ancestors. 3) otherwise, look-up in ancestors of + the class. + + * eval.c (cvar_cbase): destination for class variable access is + the class/module that holds the method, or cbase outside of + methods. + Thu Feb 1 20:31:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * variable.c (rb_cvar_set): remove warn argument. |