Project

General

Profile

Backport #8416

super does not forward either named or anonymous **

Added by rits (First Last) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:55033]

Description

irb(main):015:0> class Super; def self.foo(h); h; end; end; class Sub < Super; def self.foo(); super; end; end; Sub.foo(a: 1)
=> {}

Associated revisions

Revision e38a2399
Added by nobu (Nobuyoshi Nakada) over 6 years ago

compile.c: forward kwrest

  • compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416].

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

Revision 40807
Added by nobu (Nobuyoshi Nakada) over 6 years ago

compile.c: forward kwrest

  • compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416].

Revision 40807
Added by nobu (Nobuyoshi Nakada) over 6 years ago

compile.c: forward kwrest

  • compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416].

Revision 40807
Added by nobu (Nobuyoshi Nakada) over 6 years ago

compile.c: forward kwrest

  • compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416].

Revision 40807
Added by nobu (Nobuyoshi Nakada) over 6 years ago

compile.c: forward kwrest

  • compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416].

Revision 40807
Added by nobu (Nobuyoshi Nakada) over 6 years ago

compile.c: forward kwrest

  • compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416].

Revision 40807
Added by nobu (Nobuyoshi Nakada) over 6 years ago

compile.c: forward kwrest

  • compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416].

Revision 44658707
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

merge revision(s) 40807: [Backport #8416]

    * compile.c (iseq_compile_each): forward anonymous and first keyword
      rest argument one.  [ruby-core:55033] [Bug #8416].

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

Revision 41051
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

merge revision(s) 40807: [Backport #8416]

* compile.c (iseq_compile_each): forward anonymous and first keyword
  rest argument one.  [ruby-core:55033] [Bug #8416].

History

Updated by marcandre (Marc-Andre Lafortune) over 6 years ago

  • Category set to core
  • Assignee set to nobu (Nobuyoshi Nakada)
  • Priority changed from Normal to 5

Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 2.0.0: REQUIRED
#3

Updated by nobu (Nobuyoshi Nakada) over 6 years ago

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

This issue was solved with changeset r40807.
First, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


compile.c: forward kwrest

  • compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416].
#4

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport200
  • Category deleted (core)
  • Status changed from Closed to Assigned
  • Assignee changed from nobu (Nobuyoshi Nakada) to nagachika (Tomoyuki Chikanaga)
#5

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • Status changed from Assigned to Closed

This issue was solved with changeset r41051.
First, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 40807: [Backport #8416]

* compile.c (iseq_compile_each): forward anonymous and first keyword
  rest argument one.  [ruby-core:55033] [Bug #8416].

Also available in: Atom PDF