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/