Bump SDK version to 2.17

TEST=Standard CQ

Change-Id: I0eba9fa6eaa73bf9da8abdd93645a8e6eb8e601b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/226691
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: William Hesse <whesse@google.com>
This commit is contained in:
William Hesse 2022-01-10 11:05:10 +00:00 committed by Commit Bot
parent cc2c87fce2
commit 05b19a2218
19 changed files with 60 additions and 60 deletions

View file

@ -8,7 +8,7 @@ part of 'experiments.dart';
/// The current version of the Dart language (or, for non-stable releases, the /// The current version of the Dart language (or, for non-stable releases, the
/// version of the language currently in the process of being developed). /// version of the language currently in the process of being developed).
const _currentVersion = '2.16.0'; const _currentVersion = '2.17.0';
/// A map containing information about all known experimental flags. /// A map containing information about all known experimental flags.
final _knownFeatures = <String, ExperimentalFeature>{ final _knownFeatures = <String, ExperimentalFeature>{

View file

@ -33,26 +33,26 @@ enum ExperimentalFlag {
} }
const Version enableAlternativeInvalidationStrategyVersion = const Version enableAlternativeInvalidationStrategyVersion =
const Version(2, 16); const Version(2, 17);
const Version enableConstFunctionsVersion = const Version(2, 16); const Version enableConstFunctionsVersion = const Version(2, 17);
const Version enableConstantUpdate2018Version = const Version(2, 0); const Version enableConstantUpdate2018Version = const Version(2, 0);
const Version enableConstructorTearoffsVersion = const Version(2, 15); const Version enableConstructorTearoffsVersion = const Version(2, 15);
const Version enableControlFlowCollectionsVersion = const Version(2, 0); const Version enableControlFlowCollectionsVersion = const Version(2, 0);
const Version enableEnhancedEnumsVersion = const Version(2, 16); const Version enableEnhancedEnumsVersion = const Version(2, 17);
const Version enableExtensionMethodsVersion = const Version(2, 6); const Version enableExtensionMethodsVersion = const Version(2, 6);
const Version enableExtensionTypesVersion = const Version(2, 16); const Version enableExtensionTypesVersion = const Version(2, 17);
const Version enableGenericMetadataVersion = const Version(2, 14); const Version enableGenericMetadataVersion = const Version(2, 14);
const Version enableMacrosVersion = const Version(2, 16); const Version enableMacrosVersion = const Version(2, 17);
const Version enableNamedArgumentsAnywhereVersion = const Version(2, 16); const Version enableNamedArgumentsAnywhereVersion = const Version(2, 17);
const Version enableNonNullableVersion = const Version(2, 12); const Version enableNonNullableVersion = const Version(2, 12);
const Version enableNonfunctionTypeAliasesVersion = const Version(2, 13); const Version enableNonfunctionTypeAliasesVersion = const Version(2, 13);
const Version enableSetLiteralsVersion = const Version(2, 0); const Version enableSetLiteralsVersion = const Version(2, 0);
const Version enableSpreadCollectionsVersion = const Version(2, 0); const Version enableSpreadCollectionsVersion = const Version(2, 0);
const Version enableSuperParametersVersion = const Version(2, 16); const Version enableSuperParametersVersion = const Version(2, 17);
const Version enableTestExperimentVersion = const Version(2, 16); const Version enableTestExperimentVersion = const Version(2, 17);
const Version enableTripleShiftVersion = const Version(2, 14); const Version enableTripleShiftVersion = const Version(2, 14);
const Version enableValueClassVersion = const Version(2, 16); const Version enableValueClassVersion = const Version(2, 17);
const Version enableVarianceVersion = const Version(2, 16); const Version enableVarianceVersion = const Version(2, 17);
ExperimentalFlag? parseExperimentalFlag(String flag) { ExperimentalFlag? parseExperimentalFlag(String flag) {
switch (flag) { switch (flag) {
@ -147,49 +147,49 @@ const Map<ExperimentalFlag, bool> expiredExperimentalFlags = {
}; };
const Map<ExperimentalFlag, Version> experimentEnabledVersion = { const Map<ExperimentalFlag, Version> experimentEnabledVersion = {
ExperimentalFlag.alternativeInvalidationStrategy: const Version(2, 16), ExperimentalFlag.alternativeInvalidationStrategy: const Version(2, 17),
ExperimentalFlag.constFunctions: const Version(2, 16), ExperimentalFlag.constFunctions: const Version(2, 17),
ExperimentalFlag.constantUpdate2018: const Version(2, 0), ExperimentalFlag.constantUpdate2018: const Version(2, 0),
ExperimentalFlag.constructorTearoffs: const Version(2, 15), ExperimentalFlag.constructorTearoffs: const Version(2, 15),
ExperimentalFlag.controlFlowCollections: const Version(2, 0), ExperimentalFlag.controlFlowCollections: const Version(2, 0),
ExperimentalFlag.enhancedEnums: const Version(2, 16), ExperimentalFlag.enhancedEnums: const Version(2, 17),
ExperimentalFlag.extensionMethods: const Version(2, 6), ExperimentalFlag.extensionMethods: const Version(2, 6),
ExperimentalFlag.extensionTypes: const Version(2, 16), ExperimentalFlag.extensionTypes: const Version(2, 17),
ExperimentalFlag.genericMetadata: const Version(2, 14), ExperimentalFlag.genericMetadata: const Version(2, 14),
ExperimentalFlag.macros: const Version(2, 16), ExperimentalFlag.macros: const Version(2, 17),
ExperimentalFlag.namedArgumentsAnywhere: const Version(2, 16), ExperimentalFlag.namedArgumentsAnywhere: const Version(2, 17),
ExperimentalFlag.nonNullable: const Version(2, 12), ExperimentalFlag.nonNullable: const Version(2, 12),
ExperimentalFlag.nonfunctionTypeAliases: const Version(2, 13), ExperimentalFlag.nonfunctionTypeAliases: const Version(2, 13),
ExperimentalFlag.setLiterals: const Version(2, 0), ExperimentalFlag.setLiterals: const Version(2, 0),
ExperimentalFlag.spreadCollections: const Version(2, 0), ExperimentalFlag.spreadCollections: const Version(2, 0),
ExperimentalFlag.superParameters: const Version(2, 16), ExperimentalFlag.superParameters: const Version(2, 17),
ExperimentalFlag.testExperiment: const Version(2, 16), ExperimentalFlag.testExperiment: const Version(2, 17),
ExperimentalFlag.tripleShift: const Version(2, 14), ExperimentalFlag.tripleShift: const Version(2, 14),
ExperimentalFlag.valueClass: const Version(2, 16), ExperimentalFlag.valueClass: const Version(2, 17),
ExperimentalFlag.variance: const Version(2, 16), ExperimentalFlag.variance: const Version(2, 17),
}; };
const Map<ExperimentalFlag, Version> experimentReleasedVersion = { const Map<ExperimentalFlag, Version> experimentReleasedVersion = {
ExperimentalFlag.alternativeInvalidationStrategy: const Version(2, 16), ExperimentalFlag.alternativeInvalidationStrategy: const Version(2, 17),
ExperimentalFlag.constFunctions: const Version(2, 16), ExperimentalFlag.constFunctions: const Version(2, 17),
ExperimentalFlag.constantUpdate2018: const Version(2, 0), ExperimentalFlag.constantUpdate2018: const Version(2, 0),
ExperimentalFlag.constructorTearoffs: const Version(2, 15), ExperimentalFlag.constructorTearoffs: const Version(2, 15),
ExperimentalFlag.controlFlowCollections: const Version(2, 0), ExperimentalFlag.controlFlowCollections: const Version(2, 0),
ExperimentalFlag.enhancedEnums: const Version(2, 16), ExperimentalFlag.enhancedEnums: const Version(2, 17),
ExperimentalFlag.extensionMethods: const Version(2, 6), ExperimentalFlag.extensionMethods: const Version(2, 6),
ExperimentalFlag.extensionTypes: const Version(2, 16), ExperimentalFlag.extensionTypes: const Version(2, 17),
ExperimentalFlag.genericMetadata: const Version(2, 14), ExperimentalFlag.genericMetadata: const Version(2, 14),
ExperimentalFlag.macros: const Version(2, 16), ExperimentalFlag.macros: const Version(2, 17),
ExperimentalFlag.namedArgumentsAnywhere: const Version(2, 16), ExperimentalFlag.namedArgumentsAnywhere: const Version(2, 17),
ExperimentalFlag.nonNullable: const Version(2, 10), ExperimentalFlag.nonNullable: const Version(2, 10),
ExperimentalFlag.nonfunctionTypeAliases: const Version(2, 13), ExperimentalFlag.nonfunctionTypeAliases: const Version(2, 13),
ExperimentalFlag.setLiterals: const Version(2, 0), ExperimentalFlag.setLiterals: const Version(2, 0),
ExperimentalFlag.spreadCollections: const Version(2, 0), ExperimentalFlag.spreadCollections: const Version(2, 0),
ExperimentalFlag.superParameters: const Version(2, 16), ExperimentalFlag.superParameters: const Version(2, 17),
ExperimentalFlag.testExperiment: const Version(2, 16), ExperimentalFlag.testExperiment: const Version(2, 17),
ExperimentalFlag.tripleShift: const Version(2, 14), ExperimentalFlag.tripleShift: const Version(2, 14),
ExperimentalFlag.valueClass: const Version(2, 16), ExperimentalFlag.valueClass: const Version(2, 17),
ExperimentalFlag.variance: const Version(2, 16), ExperimentalFlag.variance: const Version(2, 17),
}; };
const AllowedExperimentalFlags defaultAllowedExperimentalFlags = const AllowedExperimentalFlags defaultAllowedExperimentalFlags =

View file

@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart:11:6: Error: This requires the 'extension-types' language feature to be enabled. // pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart:11:6: Error: This requires the 'extension-types' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// test(E e) {} // Error. // test(E e) {} // Error.
// ^ // ^
// //

View file

@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart:11:6: Error: This requires the 'extension-types' language feature to be enabled. // pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart:11:6: Error: This requires the 'extension-types' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// test(E e) {} // Error. // test(E e) {} // Error.
// ^ // ^
// //

View file

@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart:11:6: Error: This requires the 'extension-types' language feature to be enabled. // pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart:11:6: Error: This requires the 'extension-types' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// test(E e) {} // Error. // test(E e) {} // Error.
// ^ // ^
// //

View file

@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart:11:6: Error: This requires the 'extension-types' language feature to be enabled. // pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart:11:6: Error: This requires the 'extension-types' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// test(E e) {} // Error. // test(E e) {} // Error.
// ^ // ^
// //

View file

@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled. // pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// extension type E on A {} // Error because of 'type'. // extension type E on A {} // Error because of 'type'.
// ^^^^ // ^^^^
// //

View file

@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled. // pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// extension type E on A {} // Error because of 'type'. // extension type E on A {} // Error because of 'type'.
// ^^^^ // ^^^^
// //

View file

@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled. // pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// extension type E on A {} // Error because of 'type'. // extension type E on A {} // Error because of 'type'.
// ^^^^ // ^^^^
// //

View file

@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled. // pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart:9:11: Error: This requires the 'extension-types' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// extension type E on A {} // Error because of 'type'. // extension type E on A {} // Error because of 'type'.
// ^^^^ // ^^^^
// //

View file

@ -3,22 +3,22 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/macro_class.dart:8:7: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:8:7: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// macro class Class1 {} // macro class Class1 {}
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:9:16: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:9:16: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// abstract macro class Class2 {} // abstract macro class Class2 {}
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:10:7: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:10:7: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// macro class Class3 = Super with Mixin; // macro class Class3 = Super with Mixin;
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:11:16: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:11:16: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// abstract macro class Class4 = Super with Mixin; // abstract macro class Class4 = Super with Mixin;
// ^^^^^ // ^^^^^
// //

View file

@ -3,22 +3,22 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/macro_class.dart:8:7: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:8:7: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// macro class Class1 {} // macro class Class1 {}
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:9:16: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:9:16: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// abstract macro class Class2 {} // abstract macro class Class2 {}
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:10:7: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:10:7: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// macro class Class3 = Super with Mixin; // macro class Class3 = Super with Mixin;
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:11:16: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:11:16: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// abstract macro class Class4 = Super with Mixin; // abstract macro class Class4 = Super with Mixin;
// ^^^^^ // ^^^^^
// //

View file

@ -3,22 +3,22 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/macro_class.dart:8:7: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:8:7: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// macro class Class1 {} // macro class Class1 {}
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:9:16: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:9:16: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// abstract macro class Class2 {} // abstract macro class Class2 {}
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:10:7: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:10:7: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// macro class Class3 = Super with Mixin; // macro class Class3 = Super with Mixin;
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:11:16: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:11:16: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// abstract macro class Class4 = Super with Mixin; // abstract macro class Class4 = Super with Mixin;
// ^^^^^ // ^^^^^
// //

View file

@ -3,22 +3,22 @@ library /*isNonNullableByDefault*/;
// Problems in library: // Problems in library:
// //
// pkg/front_end/testcases/general/macro_class.dart:8:7: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:8:7: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// macro class Class1 {} // macro class Class1 {}
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:9:16: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:9:16: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// abstract macro class Class2 {} // abstract macro class Class2 {}
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:10:7: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:10:7: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// macro class Class3 = Super with Mixin; // macro class Class3 = Super with Mixin;
// ^^^^^ // ^^^^^
// //
// pkg/front_end/testcases/general/macro_class.dart:11:16: Error: This requires the 'macros' language feature to be enabled. // pkg/front_end/testcases/general/macro_class.dart:11:16: Error: This requires the 'macros' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.16 or higher, and running 'pub get'. // Try updating your pubspec.yaml to set the minimum SDK constraint to 2.17 or higher, and running 'pub get'.
// abstract macro class Class4 = Super with Mixin; // abstract macro class Class4 = Super with Mixin;
// ^^^^^ // ^^^^^
// //

View file

@ -9,4 +9,4 @@
import "ast.dart"; import "ast.dart";
Version defaultLanguageVersion = const Version(2, 16); Version defaultLanguageVersion = const Version(2, 17);

View file

@ -6,7 +6,7 @@
// Instead modify 'tools/experimental_features.yaml' and run // Instead modify 'tools/experimental_features.yaml' and run
// 'dart tools/generate_experimental_flags.dart' to update. // 'dart tools/generate_experimental_flags.dart' to update.
// //
// Current version: 2.16.0 // Current version: 2.17.0
#include "vm/experimental_features.h" #include "vm/experimental_features.h"

View file

@ -6,7 +6,7 @@
// Instead modify 'tools/experimental_features.yaml' and run // Instead modify 'tools/experimental_features.yaml' and run
// 'dart tools/generate_experimental_flags.dart' to update. // 'dart tools/generate_experimental_flags.dart' to update.
// //
// Current version: 2.16.0 // Current version: 2.17.0
#ifndef RUNTIME_VM_EXPERIMENTAL_FEATURES_H_ #ifndef RUNTIME_VM_EXPERIMENTAL_FEATURES_H_
#define RUNTIME_VM_EXPERIMENTAL_FEATURES_H_ #define RUNTIME_VM_EXPERIMENTAL_FEATURES_H_

View file

@ -25,7 +25,7 @@
# #
CHANNEL be CHANNEL be
MAJOR 2 MAJOR 2
MINOR 16 MINOR 17
PATCH 0 PATCH 0
PRERELEASE 0 PRERELEASE 0
PRERELEASE_PATCH 0 PRERELEASE_PATCH 0

View file

@ -103,7 +103,7 @@
# default 'language' "category" with code generated for both CFE and Analyzer, # default 'language' "category" with code generated for both CFE and Analyzer,
# while other categories can be tailored more specifically. # while other categories can be tailored more specifically.
current-version: '2.16.0' current-version: '2.17.0'
features: features:
variance: variance: