[ruby-cvs:54781] nobu:r47633 (trunk): class.c: do not freeze meta-meta-class

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Sep 19 10:45:47 JST 2014


nobu	2014-09-19 10:45:45 +0900 (Fri, 19 Sep 2014)

  New Revision: 47633

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47633

  Log:
    class.c: do not freeze meta-meta-class
    
    * class.c (rb_freeze_singleton_class): should not propagate to
      meta-meta-class, and so on, which is shared with the original
      class.  fix occational exceptions.

  Modified files:
    trunk/class.c
    trunk/include/ruby/ruby.h
    trunk/test/ruby/test_module.rb


More information about the ruby-cvs mailing list