variance from MRI: Module.new expects zero block params
-------------------------------------------------------
Key: JRUBY-2503
URL: http://jira.codehaus.org/browse/JRUBY-2503
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Environment: svn Revision: 6652
Reporter: Matthew King
Priority: Minor
{noformat}
Module.new do |mod|
puts mod.inspect
end
{noformat}
In MRI, mod would be a Module.
In JRuby, you get "warning: multiple values for a block parameter (0 for 1)"
and mod is nil
--
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