Bump version to 3.3.

Remove needless version number comment from experimental_features to
remove duplicated information and simplify version updates.

Tested: CQ
Change-Id: I864bfc44070136406e95fdaf4d83f491b2c95943
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/329460
Reviewed-by: Alexander Thomas <athom@google.com>
This commit is contained in:
Jonas Termansen
2023-10-05 23:06:17 +00:00
parent 6885e82cda
commit 81aaf6c6c4
16 changed files with 19 additions and 27 deletions
@@ -6,7 +6,7 @@
//
// Instead modify 'tools/experimental_features.yaml' and run
// 'dart pkg/front_end/tool/fasta.dart generate-experimental-flags' to update.
const Version defaultLanguageVersion = const Version(3, 2);
const Version defaultLanguageVersion = const Version(3, 3);
/// Enum for experimental flags shared between the CFE and the analyzer.
enum ExperimentalFlag {
@@ -12,7 +12,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 = '3.2.0';
const _currentVersion = '3.3.0';
/// A map containing information about all known experimental flags.
final _knownFeatures = <String, ExperimentalFeature>{
@@ -148,7 +148,7 @@ void runNullSafeSharedTests(
group('JS interop with extension types', () {
const interopSource = r'''
// @dart=3.2
// @dart=3.3
@JS()
library debug_static_interop;
@@ -3,7 +3,7 @@ library;
// Problems in library:
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType1(int it) {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -11,7 +11,7 @@ library;
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -3,7 +3,7 @@ library;
// Problems in library:
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType1(int it) {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -11,7 +11,7 @@ library;
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -3,7 +3,7 @@ library;
// Problems in library:
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType1(int it) {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -11,7 +11,7 @@ library;
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -3,7 +3,7 @@ library;
// Problems in library:
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType1(int it) {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -11,7 +11,7 @@ library;
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -3,7 +3,7 @@ library;
// Problems in library:
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType1(int it) {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -11,7 +11,7 @@ library;
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -3,7 +3,7 @@ library;
// Problems in library:
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType1(int it) {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
@@ -11,7 +11,7 @@ library;
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
// ^^^^
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:5:1: Context: This is the annotation that opts out this library from the 'inline-class' language feature.
+1 -1
View File
@@ -9,4 +9,4 @@
import "ast.dart";
const Version defaultLanguageVersion = const Version(3, 2);
const Version defaultLanguageVersion = const Version(3, 3);
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
// VMOptions=--enable-experiment=inline-class
// @dart=3.2
// @dart=3.3
// ignore_for_file: experiment_not_enabled,undefined_class,undefined_function
import 'package:test/test.dart';
-2
View File
@@ -5,8 +5,6 @@
//
// Instead modify 'tools/experimental_features.yaml' and run
// 'dart tools/generate_experimental_flags.dart' to update.
//
// Current version: 3.2.0
#include "vm/experimental_features.h"
-2
View File
@@ -5,8 +5,6 @@
//
// Instead modify 'tools/experimental_features.yaml' and run
// 'dart tools/generate_experimental_flags.dart' to update.
//
// Current version: 3.2.0
#ifndef RUNTIME_VM_EXPERIMENTAL_FEATURES_H_
#define RUNTIME_VM_EXPERIMENTAL_FEATURES_H_
+1 -1
View File
@@ -25,7 +25,7 @@
#
CHANNEL be
MAJOR 3
MINOR 2
MINOR 3
PATCH 0
PRERELEASE 0
PRERELEASE_PATCH 0
+1 -1
View File
@@ -109,7 +109,7 @@
# default 'language' "category" with code generated for both CFE and Analyzer,
# while other categories can be tailored more specifically.
current-version: '3.2.0'
current-version: '3.3.0'
features:
variance:
-4
View File
@@ -36,8 +36,6 @@ void main() {
//
// Instead modify 'tools/experimental_features.yaml' and run
// 'dart tools/generate_experimental_flags.dart' to update.
//
// Current version: ${currentVersion.join('.')}
#ifndef RUNTIME_VM_EXPERIMENTAL_FEATURES_H_
#define RUNTIME_VM_EXPERIMENTAL_FEATURES_H_
@@ -63,8 +61,6 @@ const char* GetExperimentalFeatureName(ExperimentalFeature feature);
//
// Instead modify 'tools/experimental_features.yaml' and run
// 'dart tools/generate_experimental_flags.dart' to update.
//
// Current version: ${currentVersion.join('.')}
#include "vm/experimental_features.h"