[MacRuby] #984: strange scoping error in macirb

MacRuby ruby-noreply at macosforge.org
Thu Oct 28 08:12:39 PDT 2010


#984: strange scoping error in macirb
-------------------------------------+--------------------------------------
 Reporter:  mcowan@…                 |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:                       
Component:  MacRuby                  |    Keywords:  macirb               
-------------------------------------+--------------------------------------
 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>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list