#388: Exception with next...
--------------------------------+-------------------------------------------
Reporter: r...@… | Owner: lsansone...@…
Type: defect | Status: closed
Priority: minor | Milestone:
Component: MacRuby | Resolution: invalid
Keywords: |
--------------------------------+-------------------------------------------
Changes (by lsansone...@…):
* status: new => closed
* resolution: => invalid
Comment:
This is an expected 1.9 behavior.
{{{
$ ruby19 -e 'def foo; next; end; puts "hello"'
-e:1: Invalid next
-e: compile error (SyntaxError)
}}}
I note that we should probably use a SyntaxError as 1.9 does.
--
Ticket URL: <http://www.macruby.org/trac/ticket/388#comment:1>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel