Skip to content

documentation inheritance loses lookup context for Fields #2820

Open
@jcollins-g

Description

@jcollins-g

Found in #2819.

Documentation inheritance (where dartdoc will take some documentation from a supertype for a partially-overridden Field) loses context for setter documentation, so if users refer to symbols or names unavailable in the inherited context dartdoc will emit warnings. This can be surprising for the user as it will propagate across package boundaries.

The warning can be squelched, but there is no other workaround at present.

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