[#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:69725] [Ruby trunk - Bug #11301] Module#prepend should have always added the module before the current
From:
nobu@...
Date:
2015-06-24 06:54:30 UTC
List:
ruby-core #69725
Issue #11301 has been updated by Nobuyoshi Nakada. Description updated I think we have tried it some times but not made a conclusion. Change `Module#prepend` only? ---------------------------------------- Bug #11301: Module#prepend should have always added the module before the current https://bugs.ruby-lang.org/issues/11301#change-53106 * Author: Yukihiro Matsumoto * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- I don't think it's ideal: ~~~ruby module M end class A prepend M end A.ancestors # => [M, A, Object, PP::ObjectMixin, Kernel, BasicObject] class B<A prepend M end B.ancestors # => [B, M, A, Object, PP::ObjectMixin, Kernel, BasicObject] ~~~ It should be either error (for not adding module) or the module appearing multiple times, i.e. `B.ancestors` to be ~~~ [M, B, M, A, Object, PP::ObjectMixin, Kernel, BasicObject] ~~~ Matz. -- https://bugs.ruby-lang.org/