Skip to content

Don't document protected members of @sealed classes #2419

@nex3

Description

@nex3

If a class is marked as @sealed, then external packages aren't allowed to extend it. This effectively means that any APIs that are only visible to subclasses, such as those marked @protected or constructors for abstract classes, aren't part of the package's public API and shouldn't be documented by dartdoc.

See also #2418.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ontype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions