[MacRuby] #168: NSNotFound is different from returned values
#168: NSNotFound is different from returned values ---------------------------------+------------------------------------------ Reporter: psychs@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Code: {{{ s = 'test' r = s.rangeOfString 'abc' puts r.location puts NSNotFound }}} Output: {{{ 9223372036854775807 2147483647 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/168> MacRuby <http://macruby.org/>
#168: NSNotFound is different from returned values ---------------------------------+------------------------------------------ Reporter: psychs@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.4 Component: MacRuby | Resolution: fixed Keywords: | ---------------------------------+------------------------------------------ Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.4 Comment: There were 2 problems: 1) the BS parser does not take into account the value64 field in 64-bit mode 2) the value64 field for NSNotFound is incorrect in Foundation.bridgesupport. 1) was fixed and 2) was temporarily work-around'ed (it will be fixed in a future Mac OS X release) in r756/trunk. -- Ticket URL: <http://www.macruby.org/trac/ticket/168#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby