Skip to content

Detect impossible ises #59850

@lishaduck

Description

@lishaduck

Dart detects when an equals will never evaluate to true because the types aren't overlapping. It'd be nice if I could also get a warning for non-overlapping types in an is check, where the value on the left will never be of the type on right.

That feels overly short. Anything else you need?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions