9c69bc4c6d
Fixes VM crash in object-copy implementation where non-canonicalized, non-constant types are sent across `SendPort`s. We were already sharing * `TypeArgument`s and anything they refer to * `Type`s that from type literals that are constant What was missing was * `Type`s coming from type literals that had to be instantiated TEST=vm/dart/isolates/fast_object_copy2_test Change-Id: I06d85d9849519cd185394efb5aec6a316a763f16 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355440 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>