Files
sdk/pkg/front_end/testcases/general/static_vs_instance.dart
Johnni Winther ac2fc57446 [cfe] Combine getter/setter and final field/setter into one property builder
This combines getter/setter and final field/setter pairs into a single
SourcePropertyBuilder. This prepares for handling augmentation of
properties.

Change-Id: Ie2d9b89baa1ae72e53d7d09d672d2aa2327ef7ce
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431100
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
2025-05-28 00:38:32 -07:00

9 lines
269 B
Dart

// Copyright (c) 2025, 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 C {
set s5(int v) {}
static int s5 = 1;
}