3184f2224b
This adds the initial implementation of exhaustiveness checking in the analyzer and CFE. The checking is currently only performed in switch statements and only handle a subset of the patterns. Change-Id: Ia0050c2c80fbefe3e22615599136f9d919ebe4ef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279173 Reviewed-by: Jonas Termansen <sortie@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com>