3771dddf43
This is a workaround to avoid caching a non-legacy type (possibly provided by the CFE) as the canonical type of a non-generic class and later returned as the runtime type of an instance of this class. Hopefully fixes https://buganizer.corp.google.com/issues/144304690 Change-Id: Iaea364b9b743b05bde600f0aa784d5a8105728d7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124920 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Régis Crelier <regis@google.com>