eae54cf02c
Previously, we considered an expression unreachable if its type was exactly `Never`. This CL switches to using TypeSystem.isBottom, which correctly handles types like `T extends Never`. Change-Id: Ia6ce580caab6bc7ce7cceb1d0097b50f1da88f8a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154746 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.