Project

General

Profile

Backport #9349

Backport r44458

Added by hsbt (Hiroshi SHIBATA) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal

Description

Related to #9309 and #9313 and more.

#1

Updated by tmm1 (Aman Gupta) about 6 years ago

The test for the regression was included in r44455

#2

Updated by hsbt (Hiroshi SHIBATA) about 6 years ago

related commit are r44455, r44458 and r44510

Updated by naruse (Yui NARUSE) about 6 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.

Also available in: Atom PDF