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

Make it an error to have on F when F is final in another library. #2956

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 29, 2023

  1. Make it an error to have on F when F is final in another library.

    A little rephrasing and refactoring to the rules, but that's the only
    intended change.
    
    The structure of the restrictions on other libraries are now:
    * Sealed - cannot subtype, no exceptions
    * Final - cannot subtype, SDK exceptions.
    * Interface - cannot extend/with, SDK exceptions
    * Base/Final - transitively cannot implement, SDK exception.
    
    Also same library:
    * Base/Final - transitively must be base/final/sealed. No exceptions.
    lrhn committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    6b127cf View commit details
    Browse the repository at this point in the history