7f46b33019
This updates the exhaustiveness checking to return the shortest witness when no more cases match a value. This also fixes an exponential case that occurred when checking for reachability. Closes #59927 Change-Id: I82ede75113ca5d361875620287f7ce3c5fb2f5d2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405120 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>