[MacRuby] #984: strange scoping error in macirb

MacRuby ruby-noreply at macosforge.org
Fri Oct 29 00:21:02 PDT 2010


#984: strange scoping error in macirb
-------------------------------------+--------------------------------------
 Reporter:  mcowan@…                 |       Owner:  eloy.de.enige@…        
     Type:  defect                   |      Status:  new                    
 Priority:  blocker                  |   Milestone:                         
Component:  MacRuby                  |    Keywords:  macirb                 
-------------------------------------+--------------------------------------
Description changed by eloy.de.enige@…:

Old description:

> i tried some example code in macirb and got a scoping error. when i tried
> this in regular irb it works fine, and when i run this as a script it
> works fine.
>
> i = 0
> for i in 1..8 do
>       puts i
> end

New description:

 i tried some example code in macirb and got a scoping error. when i tried
 this in regular irb it works fine, and when i run this as a script it
 works fine.

 {{{
 i = 0
 for i in 1..8 do
       puts i
 end
 }}}

--

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/984#comment:2>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list