Files
sdk/pkg/analyzer_testing/lib/experiments/experiments.dart
T
Chloe Stefantsova 32eb405d69 [analyzer] Include static-extensions in experimentsForTests
Part of https://github.com/dart-lang/sdk/issues/61484
Part of https://github.com/dart-lang/sdk/issues/61485

Change-Id: I06bfb52304857568330cf35281f6d3e70807918d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/454780
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
2025-10-20 08:35:13 -07: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 = [
Feature.augmentations.enableString,
Feature.declaring_constructors.enableString,
Feature.enhanced_parts.enableString,
Feature.macros.enableString,
Feature.private_named_parameters.enableString,
Feature.static_extensions.enableString,
Feature.variance.enableString,
];