Project

General

Profile

Actions

Bug #20388

closed

super + ruby2_keywords isn't working

Added by tenderlovemaking (Aaron Patterson) 8 months ago. Updated 8 months ago.


Description

class A
  def process action, ...
  end
end

class B < A
  def process method_name, *args
    args.freeze
    super
  end
  ruby2_keywords(:process)
end

p B.new.process(:foo, bar: :baz)

The above code started breaking at revision 4f77d8d3

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like1Like0