Issue #7745 has been reported by zzak (Zachary Scott). ---------------------------------------- Feature #7745: lib/observer.rb: Observers are compared by identity https://bugs.ruby-lang.org/issues/7745 Author: zzak (Zachary Scott) Status: Open Priority: Normal Assignee: Category: lib Target version: next minor =begin From ((<github issue 239|URL:https://github.com/ruby/ruby/pull/239>)): ((*Please consider changing @observer_peers to compare_by_identity. This fixes surprising effects when Strings or Arrays are used as observers.*)) I've attached the associated patch. =end
on 2013-01-27 18:19
on 2013-02-22 01:12
Issue #7745 has been updated by ko1 (Koichi Sasada). Assignee set to nobu (Nobuyoshi Nakada) ---------------------------------------- Feature #7745: lib/observer.rb: Observers are compared by identity https://bugs.ruby-lang.org/issues/7745#change-36741 Author: zzak (Zachary Scott) Status: Open Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: lib Target version: next minor =begin From ((<github issue 239|URL:https://github.com/ruby/ruby/pull/239>)): ((*Please consider changing @observer_peers to compare_by_identity. This fixes surprising effects when Strings or Arrays are used as observers.*)) I've attached the associated patch. =end
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.