#388: Exception with next...
--------------------------------+-------------------------------------------
 Reporter:  r...@…              |       Owner:  lsansone...@…        
     Type:  defect              |      Status:  new                  
 Priority:  minor               |   Milestone:                       
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------
 This may be a place where we just break with compatibility but if you do:

 macruby -e 'def foo; next; end; puts "hello"'
 unexpected next (LocalJumpError)

 ruby -e 'def foo; next; end; puts "hello"'
 hello

 Since in Ruby that method is never called, the LocalJumpError will never
 surface.  Again, this may be something that is offered as a 'feature'...I
 dunno

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

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to