1b75e2701c
This CL adds support for promotion of certain private final instance variables along with anonymous methods. The promotions do not differ from the ones which are already available in Dart without anonymous methods, but it requires some generalizations to handle the changing value of `this` which is made possible by anonymous methods. Change-Id: I720a5fa6d29a8a7d19bb2e167dc135f97492b525 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/498840 Reviewed-by: 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.