c9e29fa85f
This propagates information about reported error to the caller of a shared type analysis. This is used to properly turn errors into invalid expressions/patterns, as is normally done in the CFE in face of errors. Change-Id: Ibb8adedccb8314fabfe18ecaa3559e32ad7267ca Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286145 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@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.