Files
sdk/pkg/analyzer_testing/lib/experiments/experiments.dart
T
Konstantin Shcheglov 20085c0902 DeCo. Don't remove experiment from shared experimentsForTests.
Change-Id: If746609320113a42c161021f7c7328cf79bd46fc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/465483
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-12-01 16:07:30 -08:00

26 lines
1.0 KiB
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.macros.enableString,
Feature.primary_constructors.enableString,
Feature.private_named_parameters.enableString,
Feature.static_extensions.enableString,
Feature.variance.enableString,
]);