-
Notifications
You must be signed in to change notification settings - Fork 1.7k
vm_service getInstances fails with null reference when invoked for TypeParameters #52893
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
Comments
//cc @derekxu16 |
TypeParameters are returned as _TypeParameters by the VM and in pkg:vm_service we don't account for that, see https://github.com/dart-lang/sdk/blob/main/pkg/vm_service/lib/src/vm_service.dart#L192 |
We should just go ahead and make |
|
That's unfortunate... :( Thanks for the quick fix! |
…ters` and service.md claiming the existence of kind `TypeParameters`. Fix the service type `TypeParameters` to recognize it is a heap object. Exhaustively test that the service client libraries can handle inflating all types produced by the VM. Compare vm/cc/PrintJSON, which exhaustively tests the VM can generate any type. TEST=ci Bug: #52893 Change-Id: Id1f080656ef6e999e69f2ebb5b9961fa3b461e4a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/316862 Reviewed-by: Ben Konyi <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
I just published |
Dart code:
Error:
The text was updated successfully, but these errors were encountered: