Aliased superclass method not found when visibility changed
-----------------------------------------------------------
Key: JRUBY-932
URL: http://jira.codehaus.org/browse/JRUBY-932
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.0RC1
Reporter: Bill Dortch
Works in MRI:
{code}
> class A
> def a
> puts 'boo'
> end
> end
=> nil
> class B < A
> alias_method :b, :a
> protected :b
> def a
> b
> end
> end
=> nil
> B.new.a
NameError: super: no superclass method 'b'
from (irb):5:in `b'
from (irb):5:in `a'
from (irb):1:in `binding'
>
{code}
--
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