[MacRuby] #659: ER: Calling #== on an Obj-C object calls -isEqual:
#659: ER: Calling #== on an Obj-C object calls -isEqual: ---------------------------------------+------------------------------------ Reporter: joshua.ballanco@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------------------+------------------------------------ It would be nice if calling #== on an Obj-C object which defines -isEqual: used this method instead of doing a straight pointer comparison: {{{ framework 'Foundation' a = NSDate.dateWithNaturalLanguageString('today') b = NSDate.dateWithNaturalLanguageString('today') if a == b p :ok elsif a.isEqual(b) p :ko end }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/659> MacRuby <http://macruby.org/>
#659: ER: Calling #== on an Obj-C object calls -isEqual: ---------------------------------------+------------------------------------ Reporter: joshua.ballanco@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ---------------------------------------+------------------------------------ Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Should be fixed in r4063. -- Ticket URL: <http://www.macruby.org/trac/ticket/659#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby