Skip to content

implement @reopen #50977

@pq

Description

@pq

From the base-interface-final spec:

@reopen lint
...

A metadata annotation @reopen is added to package meta and a lint "require_reopen" is added to the linter. When the lint is enabled, a lint warning is reported if a class or mixin is not annotated @reopen and it:

  • extends or mixes in a type marked interface or final and is not itself marked interface or final.
  • extends, implements, or mixes in a type marked base or final and is not itself marked base, final, or sealed.

See also: #58976

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.devexp-pkg-metaIssues related to package:metatype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions