Skip to content

qualified modifiers, private[C] and protected[C] handled incorrectly in a subclass #2568

@scabug

Description

@scabug

Scala compiler does allow to override private[C] or protected[C] member in a class that is defined outside of C. IMHO, according to the scala reference this should not be allowed. Please see attached source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions