Charles Oliver Nutter created JRUBY-6534:
--------------------------------------------
Summary: Broken block-local vars in 1.9 mode
Key: JRUBY-6534
URL: https://jira.codehaus.org/browse/JRUBY-6534
Project: JRuby
Issue Type: Bug
Components: Parser, Ruby 1.9.2, Ruby 1.9.3
Affects Versions: JRuby 1.7
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Priority: Blocker
Fix For: JRuby 1.7
Broken:
{noformat}
system ~/projects/jruby $ jruby -e "lambda { [1].each {|one; bl| } }"
SyntaxError: -e:1: syntax error, unexpected tIDENTIFIER
lambda { [1].each {|one; bl| } }
^
{noformat}
Due to this commit:
{noformat}
commit 3e6d201fe4659f14eb0d0565f1b7680a8f162e22
Author: Hiro Asari <[email protected]>
Date: Mon Feb 27 10:02:26 2012 -0800
Fix JRUBY-6504: Block parameter syntax issue where the closing | comes at
the beginning of the line
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
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