[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61166] [Backport21 - Backport #9299] [Closed] Required keyowrd arguments and arity

From: naruse@...
Date: 2014-03-01 08:25:50 UTC
List: ruby-core #61166
Issue #9299 has been updated by Yui NARUSE.

Status changed from Feedback to Closed
% Done changed from 0 to 100

Applied in changeset r45226.

----------
merge revision(s) 44433: [Backport #9299]

	* proc.c: Having any mandatory keyword argument increases min arity
	  [#9299]

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

* Author: Marc-Andre Lafortune
* Status: Closed
* 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/

In This Thread