9ed173fcad
With this change, the analyzer logic for performing scope lookups is now fully separated from the logic for doing type analysis and flow analysis (ResolverVisitor now only does the latter; the former is done by ScopeResolverVisitor and ResolutionVisitor). The analyzer now has a similar separation of concerns between scope lookups and type/flow analysis as the CFE does; this should help pave the way for sharing resolution logic between the analyzer and the CFE in the future. Change-Id: Ie006dfe1b5943bb361dc0aec4525e21572e21e5d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209381 Reviewed-by: Konstantin Shcheglov <scheglov@google.com>