Doesn't allow 'included' to be protected
----------------------------------------

                 Key: JRUBY-1163
                 URL: http://jira.codehaus.org/browse/JRUBY-1163
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
         Environment: OS X, JRuby trunk
            Reporter: Anders Bengtsson



The following runs fine in MRI, but fails in JRuby:

module A
  class << self
    protected
    def included(x)
    end
  end
end

class B
  include A
end

JRuby gives this error:

protected method `included' called for A:Module (NoMethodError)

This problem is causing Buildr to fail in JRuby (among other things).


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