4cc88389fd
When in a legacy library, runtimeTypeMatch() with the legacy type. Original: https://dart-review.googlesource.com/c/sdk/+/196042 Reverted as: https://dart-review.googlesource.com/c/sdk/+/196281 Presubmit looks green: https://test.corp.google.com/ui#id=OCL:369597863:BASE:377223944:1622729657782:14c50e7 Bug: https://github.com/dart-lang/sdk/issues/45672 Change-Id: Ife02dbdc4c111dec22536de4c50c349381ba1b3f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/197109 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>