a242875197
I will be soon be implementing flow analysis for constant patterns. This test is to ensure that when the language version doesn't include support for patterns, we reproduce the legacy behaviour of `case null` (which is not to draw any conclusions about type promotion or reachability). Bug: https://github.com/dart-lang/sdk/issues/50419 Change-Id: I2336a0e2cc30f5edf38d2b8da6bcd63fc62b30fd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/281282 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Paul Berry <paulberry@google.com>