f7edf6a7f7
Removes the `_flowAnalysisInfoMap` field from the `Harness` class, which serves as the test harness for the mini_ast used in flow analysis testing, along with the methods `getFlowAnalysisInfo` and `storeFlowAnalysisInfo` that did map lookups. Calls to `getFlowAnalysisInfo` are replaced with logic that pulls the flow analysis expression info directly from the expression analysis result, and calls to `storeFlowAnalysisInfo` are dropped (since they are no longer needed). Also, the assertion is dropped from `dispatchExpression` that used to verify that the information stored in the map matched the information stored in the expression analysis result. Change-Id: I6a6a69643e0345a1f5ef84f09340119b56bfed12 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/482580 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.