[MacRuby] #644: String.include? bug
#644: String.include? bug ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- "foo".include?("") returns false, but should return true for any string. -- Ticket URL: <http://www.macruby.org/trac/ticket/644> MacRuby <http://macruby.org/>
#644: String.include? bug ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): What version of MacRuby do you run? This seems to work on trunk as of r3901: {{{ $ ./miniruby -e "p 'foo'.include?('')" true }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/644#comment:2> MacRuby <http://macruby.org/>
#644: String.include? bug ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by jankassens@…): The 0.5 installer version: {{{ ~$ macruby --version MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] ~$ macruby -e "p 'foo'.include?('')" false }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/644#comment:3> MacRuby <http://macruby.org/>
#644: String.include? bug ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: MacRuby 0.5 => MacRuby 0.6 Comment: Ah, then it has been fixed in trunk/0.6 :-) Thanks for the report anyway. -- Ticket URL: <http://www.macruby.org/trac/ticket/644#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby