Project

General

Profile

Actions

Feature #7745

open

lib/observer.rb: Observers are compared by identity

Added by zzak (zzak _) about 11 years ago. Updated about 6 years ago.

Status:
Open
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) about 11 years ago

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

Updated by naruse (Yui NARUSE) about 6 years ago

  • Target version deleted (2.6)
Actions

Also available in: Atom PDF

Like0
Like0Like0