mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
[release] Bump version to 2.9
Change-Id: I2fc393cbb7a9111f4c09db6a2a7a202eeb88992c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/142996 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
This commit is contained in:
parent
8829ddc992
commit
3c85da7778
|
@ -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.8.0';
|
||||
const _currentVersion = '2.9.0';
|
||||
|
||||
/// A map containing information about all known experimental flags.
|
||||
const _knownFeatures = <String, ExperimentalFeature>{
|
||||
|
|
|
@ -151,7 +151,7 @@ class FeatureSetProviderTest with ResourceProviderMixin {
|
|||
name: 'ccc',
|
||||
rootFolder: newFolder('/packages/ccc'),
|
||||
libFolder: newFolder('/packages/ccc/lib'),
|
||||
languageVersion: Version(2, 8, 0),
|
||||
languageVersion: Version(2, 9, 0),
|
||||
),
|
||||
},
|
||||
);
|
||||
|
|
|
@ -26,17 +26,17 @@ const int enableControlFlowCollectionsMinorVersion = 2;
|
|||
const int enableExtensionMethodsMajorVersion = 2;
|
||||
const int enableExtensionMethodsMinorVersion = 6;
|
||||
const int enableNonNullableMajorVersion = 2;
|
||||
const int enableNonNullableMinorVersion = 8;
|
||||
const int enableNonNullableMinorVersion = 9;
|
||||
const int enableNonfunctionTypeAliasesMajorVersion = 2;
|
||||
const int enableNonfunctionTypeAliasesMinorVersion = 8;
|
||||
const int enableNonfunctionTypeAliasesMinorVersion = 9;
|
||||
const int enableSetLiteralsMajorVersion = 2;
|
||||
const int enableSetLiteralsMinorVersion = 2;
|
||||
const int enableSpreadCollectionsMajorVersion = 2;
|
||||
const int enableSpreadCollectionsMinorVersion = 2;
|
||||
const int enableTripleShiftMajorVersion = 2;
|
||||
const int enableTripleShiftMinorVersion = 8;
|
||||
const int enableTripleShiftMinorVersion = 9;
|
||||
const int enableVarianceMajorVersion = 2;
|
||||
const int enableVarianceMinorVersion = 8;
|
||||
const int enableVarianceMinorVersion = 9;
|
||||
|
||||
ExperimentalFlag parseExperimentalFlag(String flag) {
|
||||
switch (flag) {
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
// 'pkg/front_end/tool/fasta generate-experimental-flags' to update.
|
||||
|
||||
int defaultLanguageVersionMajor = 2;
|
||||
int defaultLanguageVersionMinor = 8;
|
||||
int defaultLanguageVersionMinor = 9;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// Tests handling of null initializer of covariant field.
|
||||
// This test requires non-nullable experiment and NNBD strong mode.
|
||||
|
||||
// @dart = 2.8
|
||||
// @dart = 2.9
|
||||
|
||||
import "package:expect/expect.dart";
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
// Tests elimination of type casts.
|
||||
// This test requires non-nullable experiment.
|
||||
|
||||
// @dart = 2.8
|
||||
// @dart = 2.9
|
||||
|
||||
class A<T> {}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
// Tests elimination of type casts.
|
||||
// This test requires non-nullable experiment and NNBD strong mode.
|
||||
|
||||
// @dart = 2.8
|
||||
// @dart = 2.9
|
||||
|
||||
class A<T> {}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#
|
||||
CHANNEL be
|
||||
MAJOR 2
|
||||
MINOR 8
|
||||
MINOR 9
|
||||
PATCH 0
|
||||
PRERELEASE 0
|
||||
PRERELEASE_PATCH 0
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
# presumed to be in this version. Experiment flags will not affect
|
||||
# files that specify an earlier version.
|
||||
|
||||
current-version: 2.8
|
||||
current-version: 2.9
|
||||
|
||||
features:
|
||||
extension-methods:
|
||||
|
|
Loading…
Reference in a new issue