0d35cf733e
The setReachable method took a bool indicating whether the new state should be considered reachable or not, however outside of tests the value that was passed in was always `false`. Change to a `setUnreachable` method taking no arguments. This should make it easier to transition to a stack representation for reachability. Bug: https://github.com/dart-lang/sdk/issues/40009 Change-Id: I16a35ec3d5f44763a60e42f200a3caa619fac118 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/165142 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.