[#86520] [Ruby trunk Bug#14681] `syswrite': stream closed in another thread (IOError) — samuel@...
Issue #14681 has been reported by ioquatix (Samuel Williams).
3 messages
2018/04/12
[#86755] [Ruby trunk Feature#14723] [WIP] sleepy GC — normalperson@...
Issue #14723 has been reported by normalperson (Eric Wong).
6 messages
2018/04/29
[ruby-core:86435] [Ruby trunk Bug#14658] Kernel#singleton_method is incompatible with Module#prepend.
From:
younash@...
Date:
2018-04-02 15:24:39 UTC
List:
ruby-core #86435
Issue #14658 has been reported by nashby (Vasiliy Ermolovich). ---------------------------------------- Bug #14658: Kernel#singleton_method is incompatible with Module#prepend. https://bugs.ruby-lang.org/issues/14658 * Author: nashby (Vasiliy Ermolovich) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.5.0 * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- It's not possible to get singleton method using Kernel#singleton_method if singleton class was prepended with any module: ~~~ ruby module Empty; end class MyClass singleton_class.prepend(Empty) def self.foo; end end MyClass.singleton_methods(false) # => [:foo] MyClass.singleton_method(:foo) # => NameError (undefined singleton method `foo' for `MyClass') ~~~ Attached patch fixes it. -- 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>