[MacRuby-devel] [MacRuby] #388: Exception with next...
MacRuby
ruby-noreply at macosforge.org
Thu Oct 15 11:37:17 PDT 2009
#388: Exception with next...
--------------------------------+-------------------------------------------
Reporter: rich@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: minor | Milestone:
Component: MacRuby | Resolution: invalid
Keywords: |
--------------------------------+-------------------------------------------
Changes (by lsansonetti@…):
* 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/>
More information about the MacRuby-devel
mailing list