Re: [MacRuby] #795: macirb: GCD inconsistently copies local variables inside blocks
#795: macirb: GCD inconsistently copies local variables inside blocks ----------------------------------------+----------------------------------- Reporter: ernest.prabhakar@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- Changes (by eloy.de.enige@…): * owner: eloy.de.enige@… => lsansonetti@… Comment: I hang my head in shame, for not being subscribed to the tickets ML and didn't know about this ticket… Anyways, this happens when it’s eval'ed: {{{ % macruby -e 'eval("i=0; Dispatch::Queue.new(\"i\").sync {i = 42}; puts i")' 42 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/795#comment:5> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby