1d191a1374
This CL ensures that we produce appropriate "why not promoted" context messages in all the scenarios where the CFE reports the error code `NullableExpressionCallError`. Analyzer support for these scenarios will be in a follow-up CL. Bug: https://github.com/dart-lang/sdk/issues/44898 Change-Id: Id1407b28a97fc917189e885f995a4efc0bf0c250 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185920 Reviewed-by: Johnni Winther <johnniwinther@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.