[#76442] [Ruby trunk Feature#11741] Migrate Ruby to Git from Subversion — naruse@...
Issue #11741 has been updated by Yui NARUSE.
3 messages
2016/07/19
[#76515] [Ruby trunk Bug#12610] webrick: protect from httpoxy — nagachika00@...
Issue #12610 has been updated by Tomoyuki Chikanaga.
3 messages
2016/07/22
[ruby-core:76398] [Ruby trunk Bug#12594] The class does not inherit from a module the modules that were included after the inclusion
From:
faucct@...
Date:
2016-07-18 14:39:32 UTC
List:
ruby-core #76398
Issue #12594 has been updated by Nikita Sokolov. The failing piece is here: ~~~ ruby module Serialization end module Period end class LimitedPeriod include Period end Period.include Serialization LimitedPeriod < Serialization # => false ~~~ ---------------------------------------- Bug #12594: The class does not inherit from a module the modules that were included after the inclusion https://bugs.ruby-lang.org/issues/12594#change-59641 * Author: Nikita Sokolov * Status: Open * Priority: Normal * Assignee: * ruby -v: 2.3.0, 2.3.1 * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- Reproduced in ruby 2.3.0 and 2.3.1 You can see that the result changes if I swap places `LimitedPeriod.include Period` and `Period.include Serialization`. ~~~ ruby module Serialization end module Period end Period.include Serialization class LimitedPeriod include Period end LimitedPeriod < Serialization # => true ~~~ ~~~ ruby module Serialization end module Period end Period.include Serialization class LimitedPeriod include Period end LimitedPeriod < Serialization # => true ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>