Issue Type: Improvement Improvement
Assignee: Thomas E Enebo
Created: 20/Aug/12 3:01 PM
Description:

This code snippet:

{{{
if a
Thread.new { while(@current_process) end end }}}

jruby responds with:
SyntaxError: repro.rb:5: syntax error, unexpected kEND

end

while MRI responds with the slightly more "helpful" error message:
repro.rb:5: syntax error, unexpected keyword_end, expecting '}'

Thanks!
-r

Environment: jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 26e08ba) (Java HotSpot(TM) Client VM 1.6.0_33) [Windows 7-x86-java]
Project: JRuby
Priority: Major Major
Reporter: Roger Pack
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to