Project

General

Profile

« Previous | Next » 

Revision 38328

  • eval.c (rb_using_refinement): make the method table of an iclass
    for a refinement that of the refinement, not that of the origin of
    the refinement, which is set by rb_include_class_new(). This
    change is needed to make module prepend into a refinement work
    properly.

  • test/ruby/test_refinement.rb: related test.