a445fae681
Fixes https://github.com/dart-lang/sdk/issues/52954 Change-Id: I41e229380ccc16aa8bab0696fa79ca701a43220f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/317681 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
6 lines
114 B
Dart
6 lines
114 B
Dart
main() {
|
|
final record = ((a: 1, b: 2), 3);
|
|
final ((:a, :b), c) = record;
|
|
print("a = $a; b = $b, c = $c");
|
|
}
|