2a05924ab3
This includes just the shared logic to track promotion of fields if they are promotable. It does not include the logic for figuring out which fields are promotable, nor does it include the additional restrictions we need to implement in order to make field promotion sound. Those will be addressed in other CLs. Bug: https://github.com/dart-lang/language/issues/2020 Change-Id: I031a4272035938fd0b1b1103438ebc9642b2cb51 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250347 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Johnni Winther <johnniwinther@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.