SyntaxError: duplicate rest argument name in Ruby1.9 mode ---------------------------------------------------------
Key: JRUBY-5443 URL: http://jira.codehaus.org/browse/JRUBY-5443 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6RC1, JRuby 1.5.2 Environment: Solaris 10 Reporter: Thomas Sonntag Assignee: Thomas E Enebo def foo( *args ) proc {|*args| } end fails with :1: a.rb:2: duplicate rest argument name proc {|*args| } (SyntaxError) when called with jruby --1.9 (tested with jruby-1.5.2 and jruby-1.6RC1) jruby without --1.9 switch and Matz ruby 1.9.2 works fine. Similar code occurs e.g. in haml-3.0.25/lib/haml/helpers/action_view_mods.rb, line 167 are therefor my Rails application does work -- 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