Skip to content

Unnecessary comparison with double.nan #115468

@asashour

Description

@asashour

assert(order != double.nan),

Comparing with double.nan is always false, even for nan itself.

There was a recent hint dart-lang/sdk@254da67 which is reverted in dart-lang/sdk@6ef4cfe

This ticket is to resolve the Flutter code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions