JRuby warnings for block parameters don't match MRI
---------------------------------------------------

                 Key: JRUBY-870
                 URL: http://jira.codehaus.org/browse/JRUBY-870
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 0.9.9
         Environment: java version "1.6.0_01"
JRuby r3540
            Reporter: Eric Lindvall
            Assignee: Thomas E Enebo


When running Hpricot, a number of warnings are outputted.

Running the same code under MRI does not produce the warnings.

These are excerpts of warnings printed when running "rake test" on the Hpricot 
gem:

{code}
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:149
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/elements.rb:163
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:149
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
/opt/jruby/r3540/lib/ruby/gems/1.8/gems/hpricot-0.5.140-jruby/lib/hpricot/parse.rb:15
 warning: multiple values for a block parameter (4 for 1)
{/code}

-- 
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

Reply via email to