You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using Mockito, there exists an error after running the build_runner concerning the override of the operator.
The override that is used in this package seems to be not correct, because in object.dart of the dart language there is an abstract method like this: external bool operator ==(Object other);
I think that's why mockito does not find the correct implementation of this override.
There was also an discussion about this: dart-lang/mockito#479
Also consider: With this implementation its ok to compare Version and null; while Object specify the compared value not to be null.
The text was updated successfully, but these errors were encountered:
While using Mockito, there exists an error after running the build_runner concerning the override of the operator.
The override that is used in this package seems to be not correct, because in
object.dart
of the dart language there is an abstract method like this:external bool operator ==(Object other);
I think that's why mockito does not find the correct implementation of this override.
There was also an discussion about this: dart-lang/mockito#479
Also consider: With this implementation its ok to compare
Version
andnull
; whileObject
specify the compared value not to be null.The text was updated successfully, but these errors were encountered: