module_function fails on some private methods
---------------------------------------------
Key: JRUBY-4214
URL: http://jira.codehaus.org/browse/JRUBY-4214
Project: JRuby
Issue Type: Bug
Reporter: Marc-Andre Lafortune
Assignee: Thomas E Enebo
Priority: Minor
Fix For: JRuby 1.5
I created a failing rubyspec for JRuby:
$ mspec core/module/module_function_spec.rb -t jruby
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-10-28 4c719bc) (Java
HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
.......E........EE
1)
Module#module_function with specific method names can make accessible private
methods ERROR
NameError: undefined method 'require' for module '#<Module:01x3a87d472>'
--
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