[MacRuby] #860: Assertion fails when MacRuby should throw an exception of "OptionParser::AmbiguousOption".

MacRuby ruby-noreply at macosforge.org
Fri Aug 20 19:37:40 PDT 2010


#860: Assertion fails when MacRuby should throw an exception of
"OptionParser::AmbiguousOption".
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by martinlagardette@…):

 The problem is the `throw` statement, that pops the exception from the VM,
 as of r3053 . Without it, everything works fine, and the size of the
 exception list is 2, as expected, instead of 1 after `throw` is called.

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



More information about the macruby-tickets mailing list