Skip to content

Dartdoc didn't complain about invalid reference #3661

Open
@goderbauer

Description

@goderbauer

See https://github.com/flutter/flutter/pull/143588/files.

I would have expected that the following doc comment generates a dartdoc error because "SnackBarAction." (note the dot at the end) is not a valid reference. Instead, it silently interprets [SnackBarAction.] as [SnackBarAction] and links to the class. So, we totally missed, that the reference was incomplete.

/// Overrides default value for [SnackBarAction.].

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