624ff0b356
Change-Id: Iadce61ac289b956f6f6012ec2bab5bf0bd1db15b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/284702 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
9 lines
311 B
Dart
9 lines
311 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.
|
|
|
|
method() {
|
|
final Square(:areaAsInt) || Square(:areaAsInt) = Square(2);
|
|
|
|
final (42) = 42;
|
|
} |