fe0bdac54f
Added additional tests to ensure validity of this change. This didn't cause issues in unit tests, because all of them had macros enabled in their superclasses. Add TODO for named mixin applications: mixin application classes can't be augmented. (https://github.com/dart-lang/language/blob/main/working/augmentations/feature-specification.md#augmenting-class-like-declarations) Change-Id: Ieaaec84d16ca8cf6d103c9c905fdfa2c0b7c8ca1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/489680 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
24 lines
994 B
Dart
24 lines
994 B
Dart
// Copyright (c) 2024, 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.
|
|
|
|
import 'package:analyzer/dart/analysis/features.dart';
|
|
|
|
/// A list of the experiments that are to be enabled for tests.
|
|
///
|
|
/// The list will be empty if there are no experiments that should be enabled.
|
|
///
|
|
/// Experiments should be added to this list when work on a new experiment
|
|
/// begins. Experiments should be removed from this list when they are marked
|
|
/// as being enabled by default.
|
|
///
|
|
/// The flags in the list are kept in alphabetic order for ease of determining
|
|
/// whether a given flag is already included.
|
|
List<String> experimentsForTests = List.unmodifiable([
|
|
Feature.augmentations.enableString,
|
|
Feature.enhanced_parts.enableString,
|
|
Feature.primary_constructors.enableString,
|
|
Feature.static_extensions.enableString,
|
|
Feature.variance.enableString,
|
|
]);
|