Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate nested class shadowing in "override" position #8705

Merged
merged 1 commit into from Feb 12, 2020

Commits on Feb 12, 2020

  1. Deprecate nested class shadowing in "override" position

    Fixes scala/bug#8353
    
    This deprecates nested class shadowing in "override" position for Dotty compatibility. In general Scala does not implement override of classes where "new Status" might take on different meaning based on what the subtypes are doing. To avoid the confusion, we are deprecating the nested class shadow another nested class if it was introduced by a parent class.
    eed3si9n committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    c25dfdc View commit details
    Browse the repository at this point in the history