Skip to content

type '_Invocation' is not a subtype of type '_InvocationMirror' in type cast #39815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
a-siva opened this issue Dec 17, 2019 · 2 comments
Closed
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. NNBD Issues related to NNBD Release type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) vm-nnbd-unfork-sdk Label for all issues that need to be done before the nnbd sdk can be unforked
Milestone

Comments

@a-siva
Copy link
Contributor

a-siva commented Dec 17, 2019

nnbd/static_errors/unchecked_use_of_nullable_test_05 fails with the following error
type '_Invocation' is not a subtype of type '_InvocationMirror' in type cast

Unhandled exception:
type '_Invocation' is not a subtype of type '_InvocationMirror' in type cast
#0      new NoSuchMethodError.withInvocation (dart:core-patch/errors_patch.dart:190:34)
#1      Object.noSuchMethod (dart:core-patch/object_patch.dart:53:15)
#2      main (file:///usr/local/google/home/asiva/workspace/dart-nnbd/sdk/out/DebugX64NNBD/generated_tests/language/nnbd/static_errors/unchecked_use_of_nullable_test_05.dart:20:5)
#3      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:307:19)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

@a-siva a-siva added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) NNBD Issues related to NNBD Release labels Dec 17, 2019
@a-siva a-siva added this to the D29 Release milestone Dec 17, 2019
@a-siva
Copy link
Contributor Author

a-siva commented Dec 17, 2019

/cc @crelier @liamappelbe

@a-siva a-siva added the vm-nnbd-unfork-sdk Label for all issues that need to be done before the nnbd sdk can be unforked label Jan 16, 2020
@franklinyow franklinyow modified the milestones: D29 Release, D28 Release Jan 21, 2020
@a-siva
Copy link
Contributor Author

a-siva commented Feb 12, 2020

This is fixed.

@a-siva a-siva closed this as completed Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. NNBD Issues related to NNBD Release type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) vm-nnbd-unfork-sdk Label for all issues that need to be done before the nnbd sdk can be unforked
Projects
None yet
Development

No branches or pull requests

2 participants