[#69616] [Ruby trunk - Feature #11258] add 'x' mode character for O_EXCL — cremno@...
Issue #11258 has been updated by cremno phobia.
3 messages
2015/06/16
[#69643] [Ruby trunk - Misc #11276] [RFC] compile.c: convert to use ccan/list — normalperson@...
Issue #11276 has been updated by Eric Wong.
3 messages
2015/06/17
[#69751] [Ruby trunk - Bug #11001] 2.2.1 Segmentation fault in reserve_stack() function. — kubo@...
Issue #11001 has been updated by Takehiro Kubo.
3 messages
2015/06/27
[ruby-core:69489] [Ruby trunk - Bug #11233] Module#include, Module#prepend can accept no arguments
From:
merch-redmine@...
Date:
2015-06-07 15:13:09 UTC
List:
ruby-core #69489
Issue #11233 has been updated by Jeremy Evans. This isn't a bug, it a consequence of the fact that they take an arbitrary number of arguments: ~~~ Module.new.include(Module.new, Module.new, ...) ~~~ Changing it would break code like: ~~~ extensions = [] extensions << Module.new if something extensions << Module.new if something_else Module.new.include(*extensions) ~~~ ---------------------------------------- Bug #11233: Module#include, Module#prepend can accept no arguments https://bugs.ruby-lang.org/issues/11233#change-52789 * Author: John Doe * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- `# Module#include, Module#prepend can accept no arguments Module.new.include Module.new.prepend ` -- https://bugs.ruby-lang.org/