Skip to content

Deserialization of timeout in suite metadata fails in dart2wasm #2006

@eyebrowsoffire

Description

@eyebrowsoffire

The following line:

return Timeout(Duration(microseconds: serialized['duration'] as int));

Fails on dart2wasm, because the underlying type is double and cannot be simply cast to an int.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-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