From: "marcandre (Marc-Andre Lafortune)" Date: 2013-04-08T13:45:37+09:00 Subject: [ruby-core:54094] [ruby-trunk - Bug #8236][Open] super & named parameters bug Issue #8236 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Bug #8236: super & named parameters bug https://bugs.ruby-lang.org/issues/8236 Author: marcandre (Marc-Andre Lafortune) Status: Open Priority: Normal Assignee: Category: core Target version: ruby -v: r40175 ``` class Base def foo(*args) p args end end class A < Base def foo(arg, bar: 'x') super end end A.new.foo 42 # => [42, {:bar=>"x"}] (ok) class B < Base def foo(*args, bar: 'x') super end end B.new.foo 42 # => [[42], [:bar, "x"]] (not ok, should be same) ``` -- http://bugs.ruby-lang.org/