In Type system§
See primary documentation in context for trait hides
The trait hides
provides inheritance without being subject to re-dispatching.
hides A;B.new.m; # No outputB.new.n; # OUTPUT: «i am hidden»
The trait is hidden
allows a class to hide itself from re-dispatching.
is hiddenis AB.new.m; # No outputB.new.n; # OUTPUT: «i am hidden»
Classes declared with is hidden
also generate slightly different method signatures. To facilitate re-dispatch, typical methods are automatically provided with an extra *%_
parameter that captures extra named arguments. Because classes declared with is hidden
don't participate in re-dispatch, their methods don't receive this extra parameter.
In role Metamodel::MultipleInheritance§
See primary documentation in context for method hides
method hides()
Returns a list of all hidden parent classes.