Skip to content

dart2js returns true for infinity is int #4984

@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


See test language/infinity_test.dart. dart2js uses Math.floor(x) == x for making an int check, and infinity returns true to that operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requesttype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)web-dart2js

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions