Project

General

Profile

Actions

Backport #9299

closed

Required keyowrd arguments and arity

Added by marcandre (Marc-Andre Lafortune) over 10 years ago. Updated over 6 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)03/11/2013Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0