b0abd310ca
New compile time errors rejected the existing code. Variables created in pattern cases need to keep their type consistent. Fixes: https://github.com/dart-lang/sdk/issues/51933 Change-Id: I00299ac14f01c95baf9c5d8a5f7eee675ce0c600 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/293400 Reviewed-by: Anna Gringauze <annagrin@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>