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

More accurate outer checks in patterns #9504

Merged

Commits on Apr 20, 2021

  1. More accurate outer checks in patterns

    Avoids eliding outer checks that matter (run/t11534b.scala) and
    avoids emitting checks that don't (pos/t11534.scala) which avoids
    compiler warnings when the tested class doesn't have an outer
    field.
    
    The latter stops the annoying unchecked warning that appeared since
    a recent refactoring made `TermName` a final class.
    retronym authored and lrytz committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    350bbe7 View commit details
    Browse the repository at this point in the history