[MacRuby] #1395: macirb does not reserve the variable 'e' or 'exception' but uses them without asking

MacRuby ruby-noreply at macosforge.org
Thu Sep 29 19:47:28 PDT 2011


#1395: macirb does not reserve the variable 'e' or 'exception' but uses them
without asking
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  major                   |   Milestone:                       
Component:  MacRuby                 |    Keywords:                       
------------------------------------+---------------------------------------
 macirb has a feature where the last exception is stored in the variable
 'e' and 'exception'. This can be a problem for some people who want to use
 'e' for their own variables as an exception will overwrite their data.

 I think macirb should use some other variable, or perhaps just
 'exception', or find a way to reserve the variable so that it cannot be
 used for anything else.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1395>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list