thenAnswer
Invocation with callback positional parameter does not handle non-primitives when compiled with dart2js
#198
Labels
P2
A bug or feature request we're likely to work on
S2
status-blocked
Blocked from making progress by another (referenced) issue
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Here is a simplified test case of a bug I'm seeing with the
thenAnswer
Invocation when this code is compiled with dart2js. With DDC, it works as expected:There are no issues if the callback payload is a primitive.
It appears that
Invocation
with a callback argument works correctly on its own with this simplified case:Thank you for taking a look.
The text was updated successfully, but these errors were encountered: