Class aliases declared in module Kernel not recognized properly ---------------------------------------------------------------
Key: JRUBY-3609 URL: http://jira.codehaus.org/browse/JRUBY-3609 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.2 Reporter: Marc-Andre Lafortune Assignee: Thomas E Enebo Attachments: jrubybug.rb Apparently creating a global constant inside module Kernel can create problems. The included code will not give an error when I believe it shouldn't. It doesn't with ruby 1.8.6 nor 1.9.1 [23:43][~/test]$ jruby test.rb :1: undefined method `foo' for class `Stuff' (NameError) -- 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