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>