<< §1.3.1.(g) Implicitly inheriting super-types | ↑ Table of Contents ↑ | §1.3.1.(i) Dynamic binding of constructors >> |
§1.3.1.(h) Preserving visibility
A role class must provide at least as much access as the implicit super role, or a compile-time error occurs (this is in analogy to JLS §8.4.6.3). Access rights of methods overridden by implicit inheritance follow the same rules as for normal overriding.
<< §1.3.1.(g) Implicitly inheriting super-types | ↑ Table of Contents ↑ | §1.3.1.(i) Dynamic binding of constructors >> |