Project

General

Profile

This project is closed and read-only.

Actions

Backport #9299

closed

Required keyowrd arguments and arity

Backport #9299: Required keyowrd arguments and arity

Added by marcandre (Marc-Andre Lafortune) over 12 years ago. Updated almost 9 years ago.


Description

While fixing #8072, I noticed another bug: a required keyword argument should add 1 to the arity:

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

Related issues 1 (0 open1 closed)

Related to Backport21 - Backport #8072: Method#arity for keyword argumentsClosedmarcandre (Marc-Andre Lafortune)Actions
Actions

Also available in: PDF Atom