Issue #9299 has been updated by Marc-Andre Lafortune.

Assignee changed from Marc-Andre Lafortune to Yukihiro Matsumoto

Please excuse my ignorance, I'm not sure what a simple backport is.

Dear Matz, hopefully you will know.

I always put my bug fixes as backport requests, but I welcome guidelines.


----------------------------------------
Backport #9299: Required keyowrd arguments and arity
https://bugs.ruby-lang.org/issues/9299#change-45512

* Author: Marc-Andre Lafortune
* Status: Feedback
* Priority: Normal
* Assignee: Yukihiro Matsumoto
----------------------------------------
While fixing #8072, I noticed another bug: a required keyword argument should add 1 to the arity:

    proc{|required:|}.arity # => 0, should be 1



-- 
http://bugs.ruby-lang.org/