Issue Type: Bug Bug
Affects Versions: JRuby 1.6.7
Assignee: Thomas E Enebo
Created: 24/Aug/12 4:09 AM
Description:

This runs fine on matz ruby 1.9.3

– bug.rb –
class A
def A.[](x, options)
puts x
end
end

A['hello', :option => true]

$ ruby bug.rb
SyntaxError: bug.rb:7: syntax error, unexpected tASSOC

A['hello', :option => true]
^

Environment: Ubuntu
Project: JRuby
Priority: Major Major
Reporter: Tallak Tveide
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