[MacRuby] #1181: Array#cycle or Array#next is broken
#1181: Array#cycle or Array#next is broken ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- puts ["*"].cycle.next That line prints out a * in CRuby, but prints out nil on MacRuby. I found this issue while trying to use minitest/pride. -- Ticket URL: <http://www.macruby.org/trac/ticket/1181> MacRuby <http://macruby.org/>
#1181: Array#cycle or Array#next is broken ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by mrada@…): The formatting of that line of code seems to have gotten messed up, but I included the reduction as an attachment. -- Ticket URL: <http://www.macruby.org/trac/ticket/1181#comment:1> MacRuby <http://macruby.org/>
#1181: Array#cycle or Array#next is broken ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by mrada@…): Ok, the problem is with Enumerator#next. It is not implemented yet, there is a TODO in the source, and the function always returns nil. -- Ticket URL: <http://www.macruby.org/trac/ticket/1181#comment:2> MacRuby <http://macruby.org/>
#1181: Array#cycle or Array#next is broken ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: duplicate Keywords: | ------------------------------------+--------------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => duplicate Comment: This issue reproduces #817. So, I close this ticket. -- Ticket URL: <http://www.macruby.org/trac/ticket/1181#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby