mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[release] Bump version to 2.19
Tested: Standard CQ Change-Id: Ic52d4d38a5b117dfcdc778dedfac08315ca30a54 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251541 Commit-Queue: Alexander Thomas <athom@google.com> Reviewed-by: William Hesse <whesse@google.com>
This commit is contained in:
parent
f2bd1e9641
commit
5249cd9294
|
@ -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.18.0';
|
||||
const _currentVersion = '2.19.0';
|
||||
|
||||
/// A map containing information about all known experimental flags.
|
||||
final _knownFeatures = <String, ExperimentalFeature>{
|
||||
|
|
|
@ -24,12 +24,12 @@ int i = 0;
|
|||
]);
|
||||
}
|
||||
|
||||
test_correct_2_19() async {
|
||||
test_correct_2_190() async {
|
||||
await assertErrorsInCode(r'''
|
||||
// @dart = 2.19
|
||||
// @dart = 2.190
|
||||
int i = 0;
|
||||
''', [
|
||||
error(HintCode.INVALID_LANGUAGE_VERSION_OVERRIDE_GREATER, 0, 15),
|
||||
error(HintCode.INVALID_LANGUAGE_VERSION_OVERRIDE_GREATER, 0, 16),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -55,17 +55,17 @@ class ExperimentalFlag {
|
|||
name: 'alternative-invalidation-strategy',
|
||||
isEnabledByDefault: false,
|
||||
isExpired: false,
|
||||
enabledVersion: const Version(2, 18),
|
||||
experimentEnabledVersion: const Version(2, 18),
|
||||
experimentReleasedVersion: const Version(2, 18));
|
||||
enabledVersion: const Version(2, 19),
|
||||
experimentEnabledVersion: const Version(2, 19),
|
||||
experimentReleasedVersion: const Version(2, 19));
|
||||
|
||||
static const ExperimentalFlag constFunctions = const ExperimentalFlag(
|
||||
name: 'const-functions',
|
||||
isEnabledByDefault: false,
|
||||
isExpired: false,
|
||||
enabledVersion: const Version(2, 18),
|
||||
experimentEnabledVersion: const Version(2, 18),
|
||||
experimentReleasedVersion: const Version(2, 18));
|
||||
enabledVersion: const Version(2, 19),
|
||||
experimentEnabledVersion: const Version(2, 19),
|
||||
experimentReleasedVersion: const Version(2, 19));
|
||||
|
||||
static const ExperimentalFlag constantUpdate2018 = const ExperimentalFlag(
|
||||
name: 'constant-update-2018',
|
||||
|
@ -111,9 +111,9 @@ class ExperimentalFlag {
|
|||
name: 'extension-types',
|
||||
isEnabledByDefault: false,
|
||||
isExpired: false,
|
||||
enabledVersion: const Version(2, 18),
|
||||
experimentEnabledVersion: const Version(2, 18),
|
||||
experimentReleasedVersion: const Version(2, 18));
|
||||
enabledVersion: const Version(2, 19),
|
||||
experimentEnabledVersion: const Version(2, 19),
|
||||
experimentReleasedVersion: const Version(2, 19));
|
||||
|
||||
static const ExperimentalFlag genericMetadata = const ExperimentalFlag(
|
||||
name: 'generic-metadata',
|
||||
|
@ -135,17 +135,17 @@ class ExperimentalFlag {
|
|||
name: 'inference-update-2',
|
||||
isEnabledByDefault: false,
|
||||
isExpired: false,
|
||||
enabledVersion: const Version(2, 18),
|
||||
experimentEnabledVersion: const Version(2, 18),
|
||||
experimentReleasedVersion: const Version(2, 18));
|
||||
enabledVersion: const Version(2, 19),
|
||||
experimentEnabledVersion: const Version(2, 19),
|
||||
experimentReleasedVersion: const Version(2, 19));
|
||||
|
||||
static const ExperimentalFlag macros = const ExperimentalFlag(
|
||||
name: 'macros',
|
||||
isEnabledByDefault: false,
|
||||
isExpired: false,
|
||||
enabledVersion: const Version(2, 18),
|
||||
experimentEnabledVersion: const Version(2, 18),
|
||||
experimentReleasedVersion: const Version(2, 18));
|
||||
enabledVersion: const Version(2, 19),
|
||||
experimentEnabledVersion: const Version(2, 19),
|
||||
experimentReleasedVersion: const Version(2, 19));
|
||||
|
||||
static const ExperimentalFlag namedArgumentsAnywhere = const ExperimentalFlag(
|
||||
name: 'named-arguments-anywhere',
|
||||
|
@ -199,9 +199,9 @@ class ExperimentalFlag {
|
|||
name: 'test-experiment',
|
||||
isEnabledByDefault: false,
|
||||
isExpired: false,
|
||||
enabledVersion: const Version(2, 18),
|
||||
experimentEnabledVersion: const Version(2, 18),
|
||||
experimentReleasedVersion: const Version(2, 18));
|
||||
enabledVersion: const Version(2, 19),
|
||||
experimentEnabledVersion: const Version(2, 19),
|
||||
experimentReleasedVersion: const Version(2, 19));
|
||||
|
||||
static const ExperimentalFlag tripleShift = const ExperimentalFlag(
|
||||
name: 'triple-shift',
|
||||
|
@ -215,17 +215,17 @@ class ExperimentalFlag {
|
|||
name: 'value-class',
|
||||
isEnabledByDefault: false,
|
||||
isExpired: false,
|
||||
enabledVersion: const Version(2, 18),
|
||||
experimentEnabledVersion: const Version(2, 18),
|
||||
experimentReleasedVersion: const Version(2, 18));
|
||||
enabledVersion: const Version(2, 19),
|
||||
experimentEnabledVersion: const Version(2, 19),
|
||||
experimentReleasedVersion: const Version(2, 19));
|
||||
|
||||
static const ExperimentalFlag variance = const ExperimentalFlag(
|
||||
name: 'variance',
|
||||
isEnabledByDefault: false,
|
||||
isExpired: false,
|
||||
enabledVersion: const Version(2, 18),
|
||||
experimentEnabledVersion: const Version(2, 18),
|
||||
experimentReleasedVersion: const Version(2, 18));
|
||||
enabledVersion: const Version(2, 19),
|
||||
experimentEnabledVersion: const Version(2, 19),
|
||||
experimentReleasedVersion: const Version(2, 19));
|
||||
}
|
||||
|
||||
/// Interface for accessing the global state of experimental features.
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
|
||||
import "ast.dart";
|
||||
|
||||
Version defaultLanguageVersion = const Version(2, 18);
|
||||
Version defaultLanguageVersion = const Version(2, 19);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// Instead modify 'tools/experimental_features.yaml' and run
|
||||
// 'dart tools/generate_experimental_flags.dart' to update.
|
||||
//
|
||||
// Current version: 2.18.0
|
||||
// Current version: 2.19.0
|
||||
|
||||
#include "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.18.0
|
||||
// Current version: 2.19.0
|
||||
|
||||
#ifndef RUNTIME_VM_EXPERIMENTAL_FEATURES_H_
|
||||
#define RUNTIME_VM_EXPERIMENTAL_FEATURES_H_
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#
|
||||
CHANNEL be
|
||||
MAJOR 2
|
||||
MINOR 18
|
||||
MINOR 19
|
||||
PATCH 0
|
||||
PRERELEASE 0
|
||||
PRERELEASE_PATCH 0
|
||||
|
|
|
@ -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.18.0'
|
||||
current-version: '2.19.0'
|
||||
|
||||
features:
|
||||
variance:
|
||||
|
|
Loading…
Reference in a new issue