dc639c13cb
If a list pattern consists of a single rest pattern, and that rest pattern is guaranteed to match, then the whole list pattern is guaranteed to match as well (provided that the matched value type is a subtype of the list pattern's required type). Bug: https://github.com/dart-lang/language/issues/2980 Change-Id: I316cc93d4e696f094716be92e1fbc1cd3a43a73c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/294622 Reviewed-by: Konstantin Shcheglov <scheglov@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.