Clarify behavior of super in method in module included in refinement [ci skip]
Fixes [Bug #16977]
This commit is contained in:
parent
c786954bf8
commit
021cec938a
@ -245,7 +245,8 @@ When +super+ is invoked method lookup checks:
|
||||
|
||||
Note that +super+ in a method of a refinement invokes the method in the
|
||||
refined class even if there is another refinement which has been activated in
|
||||
the same context.
|
||||
the same context. This is only true for +super+ in a method of a refinement, it
|
||||
does not apply to +super+ in a method in a module that is included in a refinement.
|
||||
|
||||
== Methods Introspection
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user