3448fbc93c
Change-Id: I5d9f06309f915460dfc9fe9549b6e7d5c814ef3c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/280261 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
16 lines
408 B
Dart
16 lines
408 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.
|
|
|
|
class Class {
|
|
dynamic field1;
|
|
dynamic field2;
|
|
}
|
|
|
|
method(x, y, z) {
|
|
var a;
|
|
(a, int b, final int c) = x;
|
|
[a, final d] = y;
|
|
Class(field1: a, field2: [[var e, _], [1, var f]]) = z;
|
|
}
|