Skip to content

Int64.== shouldn't throw an exception #910

@iinozemtsev

Description

@iinozemtsev

It tries to _promote the value and fails, when an object has an unrelated type:

Invalid argument (other): not an int, Int32 or Int64: Instance of 'NullValue'
package:fixnum/src/int64_native.dart 185:5                                               Int64._promote
package:fixnum/src/int64_native.dart 273:43                                              Int64.==

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions