Project

General

Profile

Actions

Backport #9299

closed

Required keyowrd arguments and arity

Added by marcandre (Marc-Andre Lafortune) almost 11 years ago. Updated about 7 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