blob: 05ef4e3ab84a5051ffb7bd7e1d4ae60cc8699b40 [file]
// 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 experimental features 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 features in the list are kept in alphabetic order by experiment flag
/// for ease of determining whether a given feature is already included.
final List<Feature> experimentalFeaturesForTests = List.unmodifiable([
Feature.augmentations,
Feature.enhanced_parts,
Feature.static_extensions,
Feature.this_promotion,
Feature.variance,
]);