Project

General

Profile

Actions

Feature #7745

open

lib/observer.rb: Observers are compared by identity

Added by zzak (zzak _) almost 12 years ago. Updated 8 months ago.

Status:
Assigned
Target version:
-
[ruby-core:51712]

Description

=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


Files

239.patch (3.42 KB) 239.patch zzak (zzak _), 01/28/2013 02:19 AM

Updated by ko1 (Koichi Sasada) over 11 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)
Actions #2

Updated by naruse (Yui NARUSE) almost 7 years ago

  • Target version deleted (2.6)
Actions #3

Updated by hsbt (Hiroshi SHIBATA) 8 months ago

  • Status changed from Open to Assigned
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0