561777d820
Change-Id: Ia3c0d3427bd7ade10337b3bcd7c2915282b7e119 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288405 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
10 lines
348 B
Dart
10 lines
348 B
Dart
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
void f(x) => [for (var (a, b) = x; ;) a];
|
|
|
|
void g(x) => {for (var (a, b) = x; ;) b};
|
|
|
|
void h(x) => {for (var (a, b) = x; ;) a: b};
|