Constant lookup from method inside class ::Object is incorrect
--------------------------------------------------------------

                 Key: JRUBY-3117
                 URL: http://jira.codehaus.org/browse/JRUBY-3117
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Charles Oliver Nutter
             Fix For: JRuby 1.1.6


This code should find Bar in the 'x' method, but does not:

{noformat}
module Foo
  class ::Object
    def x
      Bar
    end
  end

  class Bar; end
end
{noformat}

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