File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed
testing/test_package_experiments Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,5 @@ analyzer:
22 # enable for analysis on test package sources.
33 enable-experiment :
44 - records
5+ - sealed-class
6+ - class-modifiers
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2+ // for details. All rights reserved. Use of this source code is governed by a
3+ // BSD-style license that can be found in the LICENSE file.
4+
5+ library class_modifiers.dart;
6+
7+ class A {}
8+ base class B {}
9+ interface class C {}
10+ final class D {}
11+ sealed class E {}
12+ abstract class F {}
13+ abstract base class G {}
14+ abstract interface class H {}
15+ abstract final class I {}
16+ mixin class J {}
17+ base mixin class K {}
18+ abstract mixin class L {}
19+ abstract base mixin class M {}
20+ mixin N {}
21+ base mixin O {}
22+ interface mixin P {}
23+ final mixin Q {}
24+ sealed mixin R {}
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2+ // for details. All rights reserved. Use of this source code is governed by a
3+ // BSD-style license that can be found in the LICENSE file.
4+
5+ library sealed_classes.dart;
6+
7+ sealed class A {
8+
9+ }
You can’t perform that action at this time.
0 commit comments