4f01b048dd
These tests exercise the current (unintended) behavior described https://github.com/dart-lang/language/issues/4127, which was previously not well tested. Adding these tests acts as a safeguard to make sure that we don't change the current behavior by accident. If/when we decide to fix https://github.com/dart-lang/language/issues/4127, the test expectations will need to be updated. Bug: https://github.com/dart-lang/language/issues/4127 Change-Id: I02fd1d393038a304401d11cf2c19e97755ba90a0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/389584 Reviewed-by: Kallen Tu <kallentu@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.