Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-2568

qualified modifiers, private[C] and protected[C] handled incorectly in a subclass

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compiler (Misc)
    • Labels:
    • Environment:

      modifiers qualified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jrosiek jrosiek
                TracCC:
                jrosiek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: