17f4344336
This adds support for extension types in exhaustiveness checking by performing extension type erasure on the type before computing the corresponding static type/space. Change-Id: Ie75c903aec52a7c34410695787a9bea6008d637d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/340442 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>