From 05b19a2218a72d59ed2c826e362fb00774ba46f8 Mon Sep 17 00:00:00 2001 From: William Hesse Date: Mon, 10 Jan 2022 11:05:10 +0000 Subject: [PATCH] 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 Commit-Queue: William Hesse --- .../lib/src/dart/analysis/experiments.g.dart | 2 +- .../experimental_flags_generated.dart | 60 +++++++++---------- ...en_experiment_not_enabled.dart.weak.expect | 2 +- ...iment_not_enabled.dart.weak.modular.expect | 2 +- ...iment_not_enabled.dart.weak.outline.expect | 2 +- ...t_not_enabled.dart.weak.transformed.expect | 2 +- ...types_feature_not_enabled.dart.weak.expect | 2 +- ...ature_not_enabled.dart.weak.modular.expect | 2 +- ...ature_not_enabled.dart.weak.outline.expect | 2 +- ...e_not_enabled.dart.weak.transformed.expect | 2 +- .../general/macro_class.dart.weak.expect | 8 +-- .../macro_class.dart.weak.modular.expect | 8 +-- .../macro_class.dart.weak.outline.expect | 8 +-- .../macro_class.dart.weak.transformed.expect | 8 +-- pkg/kernel/lib/default_language_version.dart | 2 +- runtime/vm/experimental_features.cc | 2 +- runtime/vm/experimental_features.h | 2 +- tools/VERSION | 2 +- tools/experimental_features.yaml | 2 +- 19 files changed, 60 insertions(+), 60 deletions(-) diff --git a/pkg/analyzer/lib/src/dart/analysis/experiments.g.dart b/pkg/analyzer/lib/src/dart/analysis/experiments.g.dart index 1fda84579bd..9cda58df998 100644 --- a/pkg/analyzer/lib/src/dart/analysis/experiments.g.dart +++ b/pkg/analyzer/lib/src/dart/analysis/experiments.g.dart @@ -8,7 +8,7 @@ part of 'experiments.dart'; /// The current version of the Dart language (or, for non-stable releases, the /// 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. final _knownFeatures = { diff --git a/pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart b/pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart index 4dd9122b97e..f405a770f8c 100644 --- a/pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart +++ b/pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart @@ -33,26 +33,26 @@ enum ExperimentalFlag { } const Version enableAlternativeInvalidationStrategyVersion = - const Version(2, 16); -const Version enableConstFunctionsVersion = const Version(2, 16); + const Version(2, 17); +const Version enableConstFunctionsVersion = const Version(2, 17); const Version enableConstantUpdate2018Version = const Version(2, 0); const Version enableConstructorTearoffsVersion = const Version(2, 15); 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 enableExtensionTypesVersion = const Version(2, 16); +const Version enableExtensionTypesVersion = const Version(2, 17); const Version enableGenericMetadataVersion = const Version(2, 14); -const Version enableMacrosVersion = const Version(2, 16); -const Version enableNamedArgumentsAnywhereVersion = const Version(2, 16); +const Version enableMacrosVersion = const Version(2, 17); +const Version enableNamedArgumentsAnywhereVersion = const Version(2, 17); const Version enableNonNullableVersion = const Version(2, 12); const Version enableNonfunctionTypeAliasesVersion = const Version(2, 13); const Version enableSetLiteralsVersion = const Version(2, 0); const Version enableSpreadCollectionsVersion = const Version(2, 0); -const Version enableSuperParametersVersion = const Version(2, 16); -const Version enableTestExperimentVersion = const Version(2, 16); +const Version enableSuperParametersVersion = const Version(2, 17); +const Version enableTestExperimentVersion = const Version(2, 17); const Version enableTripleShiftVersion = const Version(2, 14); -const Version enableValueClassVersion = const Version(2, 16); -const Version enableVarianceVersion = const Version(2, 16); +const Version enableValueClassVersion = const Version(2, 17); +const Version enableVarianceVersion = const Version(2, 17); ExperimentalFlag? parseExperimentalFlag(String flag) { switch (flag) { @@ -147,49 +147,49 @@ const Map expiredExperimentalFlags = { }; const Map experimentEnabledVersion = { - ExperimentalFlag.alternativeInvalidationStrategy: const Version(2, 16), - ExperimentalFlag.constFunctions: const Version(2, 16), + ExperimentalFlag.alternativeInvalidationStrategy: const Version(2, 17), + ExperimentalFlag.constFunctions: const Version(2, 17), ExperimentalFlag.constantUpdate2018: const Version(2, 0), ExperimentalFlag.constructorTearoffs: const Version(2, 15), 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.extensionTypes: const Version(2, 16), + ExperimentalFlag.extensionTypes: const Version(2, 17), ExperimentalFlag.genericMetadata: const Version(2, 14), - ExperimentalFlag.macros: const Version(2, 16), - ExperimentalFlag.namedArgumentsAnywhere: const Version(2, 16), + ExperimentalFlag.macros: const Version(2, 17), + ExperimentalFlag.namedArgumentsAnywhere: const Version(2, 17), ExperimentalFlag.nonNullable: const Version(2, 12), ExperimentalFlag.nonfunctionTypeAliases: const Version(2, 13), ExperimentalFlag.setLiterals: const Version(2, 0), ExperimentalFlag.spreadCollections: const Version(2, 0), - ExperimentalFlag.superParameters: const Version(2, 16), - ExperimentalFlag.testExperiment: const Version(2, 16), + ExperimentalFlag.superParameters: const Version(2, 17), + ExperimentalFlag.testExperiment: const Version(2, 17), ExperimentalFlag.tripleShift: const Version(2, 14), - ExperimentalFlag.valueClass: const Version(2, 16), - ExperimentalFlag.variance: const Version(2, 16), + ExperimentalFlag.valueClass: const Version(2, 17), + ExperimentalFlag.variance: const Version(2, 17), }; const Map experimentReleasedVersion = { - ExperimentalFlag.alternativeInvalidationStrategy: const Version(2, 16), - ExperimentalFlag.constFunctions: const Version(2, 16), + ExperimentalFlag.alternativeInvalidationStrategy: const Version(2, 17), + ExperimentalFlag.constFunctions: const Version(2, 17), ExperimentalFlag.constantUpdate2018: const Version(2, 0), ExperimentalFlag.constructorTearoffs: const Version(2, 15), 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.extensionTypes: const Version(2, 16), + ExperimentalFlag.extensionTypes: const Version(2, 17), ExperimentalFlag.genericMetadata: const Version(2, 14), - ExperimentalFlag.macros: const Version(2, 16), - ExperimentalFlag.namedArgumentsAnywhere: const Version(2, 16), + ExperimentalFlag.macros: const Version(2, 17), + ExperimentalFlag.namedArgumentsAnywhere: const Version(2, 17), ExperimentalFlag.nonNullable: const Version(2, 10), ExperimentalFlag.nonfunctionTypeAliases: const Version(2, 13), ExperimentalFlag.setLiterals: const Version(2, 0), ExperimentalFlag.spreadCollections: const Version(2, 0), - ExperimentalFlag.superParameters: const Version(2, 16), - ExperimentalFlag.testExperiment: const Version(2, 16), + ExperimentalFlag.superParameters: const Version(2, 17), + ExperimentalFlag.testExperiment: const Version(2, 17), ExperimentalFlag.tripleShift: const Version(2, 14), - ExperimentalFlag.valueClass: const Version(2, 16), - ExperimentalFlag.variance: const Version(2, 16), + ExperimentalFlag.valueClass: const Version(2, 17), + ExperimentalFlag.variance: const Version(2, 17), }; const AllowedExperimentalFlags defaultAllowedExperimentalFlags = diff --git a/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.expect b/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.expect index dfe08440568..d0388984d3b 100644 --- a/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.expect +++ b/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.expect @@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/; // 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. -// 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. // ^ // diff --git a/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.modular.expect b/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.modular.expect index dfe08440568..d0388984d3b 100644 --- a/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.modular.expect @@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/; // 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. -// 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. // ^ // diff --git a/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.outline.expect b/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.outline.expect index 7be45bb96dc..05bcb32b99f 100644 --- a/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.outline.expect @@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/; // 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. -// 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. // ^ // diff --git a/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.transformed.expect b/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.transformed.expect index dfe08440568..d0388984d3b 100644 --- a/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/extension_type_when_experiment_not_enabled.dart.weak.transformed.expect @@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/; // 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. -// 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. // ^ // diff --git a/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.expect b/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.expect index 0c596cb473a..1fcab84f637 100644 --- a/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.expect +++ b/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.expect @@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/; // 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. -// 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'. // ^^^^ // diff --git a/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.modular.expect b/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.modular.expect index 0c596cb473a..1fcab84f637 100644 --- a/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.modular.expect @@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/; // 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. -// 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'. // ^^^^ // diff --git a/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.outline.expect b/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.outline.expect index 8b21c259811..91410570ad4 100644 --- a/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.outline.expect @@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/; // 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. -// 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'. // ^^^^ // diff --git a/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.transformed.expect b/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.transformed.expect index 0c596cb473a..1fcab84f637 100644 --- a/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/extension_types_feature_not_enabled.dart.weak.transformed.expect @@ -3,7 +3,7 @@ library /*isNonNullableByDefault*/; // 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. -// 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'. // ^^^^ // diff --git a/pkg/front_end/testcases/general/macro_class.dart.weak.expect b/pkg/front_end/testcases/general/macro_class.dart.weak.expect index 5a611512e2a..ce6b7bb936a 100644 --- a/pkg/front_end/testcases/general/macro_class.dart.weak.expect +++ b/pkg/front_end/testcases/general/macro_class.dart.weak.expect @@ -3,22 +3,22 @@ library /*isNonNullableByDefault*/; // Problems in library: // // 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 {} // ^^^^^ // // 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 {} // ^^^^^ // // 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; // ^^^^^ // // 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; // ^^^^^ // diff --git a/pkg/front_end/testcases/general/macro_class.dart.weak.modular.expect b/pkg/front_end/testcases/general/macro_class.dart.weak.modular.expect index 5a611512e2a..ce6b7bb936a 100644 --- a/pkg/front_end/testcases/general/macro_class.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/macro_class.dart.weak.modular.expect @@ -3,22 +3,22 @@ library /*isNonNullableByDefault*/; // Problems in library: // // 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 {} // ^^^^^ // // 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 {} // ^^^^^ // // 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; // ^^^^^ // // 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; // ^^^^^ // diff --git a/pkg/front_end/testcases/general/macro_class.dart.weak.outline.expect b/pkg/front_end/testcases/general/macro_class.dart.weak.outline.expect index 13e7bcc9ada..614ee327cf3 100644 --- a/pkg/front_end/testcases/general/macro_class.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/macro_class.dart.weak.outline.expect @@ -3,22 +3,22 @@ library /*isNonNullableByDefault*/; // Problems in library: // // 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 {} // ^^^^^ // // 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 {} // ^^^^^ // // 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; // ^^^^^ // // 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; // ^^^^^ // diff --git a/pkg/front_end/testcases/general/macro_class.dart.weak.transformed.expect b/pkg/front_end/testcases/general/macro_class.dart.weak.transformed.expect index 506e808eb78..7f71bca1cc7 100644 --- a/pkg/front_end/testcases/general/macro_class.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/macro_class.dart.weak.transformed.expect @@ -3,22 +3,22 @@ library /*isNonNullableByDefault*/; // Problems in library: // // 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 {} // ^^^^^ // // 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 {} // ^^^^^ // // 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; // ^^^^^ // // 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; // ^^^^^ // diff --git a/pkg/kernel/lib/default_language_version.dart b/pkg/kernel/lib/default_language_version.dart index d4c3163f1a8..cc7de775edf 100644 --- a/pkg/kernel/lib/default_language_version.dart +++ b/pkg/kernel/lib/default_language_version.dart @@ -9,4 +9,4 @@ import "ast.dart"; -Version defaultLanguageVersion = const Version(2, 16); +Version defaultLanguageVersion = const Version(2, 17); diff --git a/runtime/vm/experimental_features.cc b/runtime/vm/experimental_features.cc index f272686311b..5200b16dfa4 100644 --- a/runtime/vm/experimental_features.cc +++ b/runtime/vm/experimental_features.cc @@ -6,7 +6,7 @@ // Instead modify 'tools/experimental_features.yaml' and run // 'dart tools/generate_experimental_flags.dart' to update. // -// Current version: 2.16.0 +// Current version: 2.17.0 #include "vm/experimental_features.h" diff --git a/runtime/vm/experimental_features.h b/runtime/vm/experimental_features.h index 020ba599d88..d1a5abb9597 100644 --- a/runtime/vm/experimental_features.h +++ b/runtime/vm/experimental_features.h @@ -6,7 +6,7 @@ // Instead modify 'tools/experimental_features.yaml' and run // 'dart tools/generate_experimental_flags.dart' to update. // -// Current version: 2.16.0 +// Current version: 2.17.0 #ifndef RUNTIME_VM_EXPERIMENTAL_FEATURES_H_ #define RUNTIME_VM_EXPERIMENTAL_FEATURES_H_ diff --git a/tools/VERSION b/tools/VERSION index 1bde2b2af50..a01ba5fa892 100644 --- a/tools/VERSION +++ b/tools/VERSION @@ -25,7 +25,7 @@ # CHANNEL be MAJOR 2 -MINOR 16 +MINOR 17 PATCH 0 PRERELEASE 0 PRERELEASE_PATCH 0 diff --git a/tools/experimental_features.yaml b/tools/experimental_features.yaml index 3ca32be139c..d4c4bb89813 100644 --- a/tools/experimental_features.yaml +++ b/tools/experimental_features.yaml @@ -103,7 +103,7 @@ # default 'language' "category" with code generated for both CFE and Analyzer, # while other categories can be tailored more specifically. -current-version: '2.16.0' +current-version: '2.17.0' features: variance: