5e537e1cd2
This removes the use of [SwitchInfo], [SwitchCaseInfo] and [ExhaustivessInfo] to pass on information for exhaustiveness checking and instead uses the AST nodes directly in the constant evaluator. Change-Id: Ie8d72b03e38334d1be9857794c38ed142dba5783 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288402 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>