f49d92aba9
This adds `LookupResult.isInvalidLookup` to the handle invalid lookup results and uses this to avoid a lot of cascading error messages. This is a step towards removing ProblemBuilder, AmbiguousBuilder and reliance on `NamedBuilder.isDuplicate` in lookups. Change-Id: Ia9d558ce55b45567607282295dd1e54e6187f9c5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/441880 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Erik Ernst <eernst@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.