Project

General

Profile

« Previous | Next » 

Revision 2a43e898

Added by yugui (Yuki Sonoda) almost 15 years ago

merges r28453 and r28454 from trunk into ruby_1_9_2.

  • class.c (rb_mod_init_copy): when class is dup'ed, a metaclass of the
    class should be attached to the dup'ed class, not the original
    class. [ruby-core:30843] [Bug #3461]
    --
  • bootstraptest/test_class.rb: add a test for [ruby-core:30843].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e