Project

General

Profile

Actions

Backport #9349

closed

Backport r44458

Added by hsbt (Hiroshi SHIBATA) almost 11 years ago. Updated almost 11 years ago.

Status:
Closed

Description

Related to #9309 and #9313 and more.

Actions #1

Updated by tmm1 (Aman Karmani) almost 11 years ago

The test for the regression was included in r44455

Actions #2

Updated by hsbt (Hiroshi SHIBATA) almost 11 years ago

related commit are r44455, r44458 and r44510

Updated by naruse (Yui NARUSE) almost 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r44777.


merge revision(s) 44455,44458,44510: [Backport #9349]

* vm_insnhelper.c (vm_search_super_method): direct superclass of a
  module is found when super called in a Method object generated a
  method defined in a module, call method_missing in that case.
  [ruby-core:59358] [Bug #9315]

* proc.c (mnew_from_me): keep iclass as-is, to make inheritance
  chain consistent.  [ruby-core:59358] [Bug #9315]

* proc.c (method_owner): return the original defined_class from
  prepended iclass, instead.
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0