From: romaseo86@... Date: 2017-02-09T11:59:39+00:00 Subject: [ruby-core:79486] [Backport21 Backport#9299] Required keyowrd arguments and arity Issue #9299 has been updated by Peppe Signori. Marc-Andre Lafortune wrote: > 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://papers-writings.net/ ---------------------------------------- Backport #9299: Required keyowrd arguments and arity https://bugs.ruby-lang.org/issues/9299#change-62932 * Author: Marc-Andre Lafortune * Status: Open * 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 -- https://bugs.ruby-lang.org/ Unsubscribe: