>>define_method :name do | &blk | << ignores
---------------------------------------------
Key: JRUBY-3774
URL: http://jira.codehaus.org/browse/JRUBY-3774
Project: JRuby
Issue Type: Bug
Components: Parser
Affects Versions: JRuby 1.3
Environment: 523/30 > uname -a && jruby --version && java -version
Linux siena 2.6.27-14-generic #1 SMP Wed Apr 15 18:59:16 UTC 2009 i686 GNU/Linux
jruby 1.3.0 (ruby 1.8.6p287) (2009-06-06 6586) (OpenJDK Client VM 1.6.0_0)
[i386-java]
java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-0ubuntu6.4) Runtime Environment (build 1.6.0_0-b12)
OpenJDK Client VM (build 1.6.0_0-b12, mixed mode, sharing)
Reporter: Robert Dober
Assignee: Thomas E Enebo
Attachments: def-method-catch-blk-spec.rb
I have discussed this issue shortly on IRC, but as we could not be sure if this
is something you have already planned to do or will be fixed automatically we
decided to play it save. Furthermore that would add a fixed bug into the
Release Note ;)
-----------------------
Module::new do
define_method :meta do |&blk|
p blk # ---> nil
end
extend self
meta{}
end
--
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