Skip to content

When reporting illegal object SendPort.send should print retaining path and hide implementation internal classes #51115

@dnfield

Description

@dnfield

See e.g. simolus3/drift#2279 (comment)

 dart test test/isolate_test.dart
00:01 +8 -1: in same isolate with explicit serialization can run deletes, updates and batches [E]                                                                                                                                                                                                                    
  Invalid argument(s): Illegal argument in isolate message: (object is a SuspendState)
  dart:isolate                   Isolate.run
  test/isolate_test.dart 255:19  _runTests.<fn>

I don't know where SuspendState is defined. It's not defined in Drift AFAICT, and I don't see it when I search on api.dart.dev.

So basically, I don't really know what's wrong or where to start with fixing this issue.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-isolate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions