JRuby can't handle do/end blocks within String-inlined expressions
------------------------------------------------------------------
Key: JRUBY-3179
URL: http://jira.codehaus.org/browse/JRUBY-3179
Project: JRuby
Issue Type: Bug
Components: Parser
Affects Versions: JRuby 1.1.5, JRuby 1.1.6
Reporter: Martin Krauskopf
Assignee: Thomas E Enebo
Priority: Minor
$ ruby -v -e 'puts "#{(1..4).inject(1) do |f,n| f*n end}"'
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]
24
$ jruby -v -e 'puts "#{(1..4).inject(1) do |f,n| f*n end}"'
jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-24 rev 8119) [i386-java]
:1: -e:1: , unexpected kDO_BLOCK (SyntaxError)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.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