1b1c5d55dc
Moves the bulk of the business logic for type analyzing await expressions from the analyzer and front_end codebases into the shared `TypeAnalyzer` class. There is no functional change. This paves the way for fixing https://github.com/dart-lang/sdk/issues/62889 (Unsound type promotion in inner async/generator functions), which will require the type analysis of await expressions to be integrated more closely with flow analysis. Sharing the type analysis logic will avoid the need to do that integration twice. Change-Id: I9f8770ce8127a960b746a89ee3e370ed6a6a6964 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/489480 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
FE/analyzer shared code
This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.
End users should consider using the analyzer package to analyze Dart source code.