Skip to content

Commit 85fd1b8

Browse files
Ilya YanokCommit Queue
authored andcommitted
Revert "Bump version to 3.3."
This reverts commit 81aaf6c. Reason for revert: regression in G3: b/303734572 Original change's description: > 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 <[email protected]> Change-Id: Ie7dca3106345ee7949ccd13ab4765998926c0abc No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/329603 Commit-Queue: Ilya Yanok <[email protected]> Bot-Commit: Rubber Stamper <[email protected]> Reviewed-by: Alexander Thomas <[email protected]>
1 parent 6f09056 commit 85fd1b8

16 files changed

+27
-19
lines changed

pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// Instead modify 'tools/experimental_features.yaml' and run
88
// 'dart pkg/front_end/tool/fasta.dart generate-experimental-flags' to update.
9-
const Version defaultLanguageVersion = const Version(3, 3);
9+
const Version defaultLanguageVersion = const Version(3, 2);
1010

1111
/// Enum for experimental flags shared between the CFE and the analyzer.
1212
enum ExperimentalFlag {

pkg/analyzer/lib/src/dart/analysis/experiments.g.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ part of 'experiments.dart';
1212

1313
/// The current version of the Dart language (or, for non-stable releases, the
1414
/// version of the language currently in the process of being developed).
15-
const _currentVersion = '3.3.0';
15+
const _currentVersion = '3.2.0';
1616

1717
/// A map containing information about all known experimental flags.
1818
final _knownFeatures = <String, ExperimentalFeature>{

pkg/dev_compiler/test/expression_compiler/expression_compiler_e2e_shared.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void runNullSafeSharedTests(
148148

149149
group('JS interop with extension types', () {
150150
const interopSource = r'''
151-
// @dart=3.3
151+
// @dart=3.2
152152
153153
@JS()
154154
library debug_static_interop;

pkg/front_end/testcases/general/extension_type_declaration_disabled.dart.strong.expect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ library;
33
// Problems in library:
44
//
55
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
6-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
6+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
77
// extension type ExtensionType1(int it) {}
88
// ^^^^
99
// 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.
1010
// // @dart=2.18
1111
// ^^^^^^^^^^^^^
1212
//
1313
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
14-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
14+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
1515
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
1616
// ^^^^
1717
// 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.

pkg/front_end/testcases/general/extension_type_declaration_disabled.dart.strong.transformed.expect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ library;
33
// Problems in library:
44
//
55
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
6-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
6+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
77
// extension type ExtensionType1(int it) {}
88
// ^^^^
99
// 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.
1010
// // @dart=2.18
1111
// ^^^^^^^^^^^^^
1212
//
1313
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
14-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
14+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
1515
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
1616
// ^^^^
1717
// 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.

pkg/front_end/testcases/general/extension_type_declaration_disabled.dart.weak.expect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ library;
33
// Problems in library:
44
//
55
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
6-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
6+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
77
// extension type ExtensionType1(int it) {}
88
// ^^^^
99
// 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.
1010
// // @dart=2.18
1111
// ^^^^^^^^^^^^^
1212
//
1313
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
14-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
14+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
1515
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
1616
// ^^^^
1717
// 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.

pkg/front_end/testcases/general/extension_type_declaration_disabled.dart.weak.modular.expect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ library;
33
// Problems in library:
44
//
55
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
6-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
6+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
77
// extension type ExtensionType1(int it) {}
88
// ^^^^
99
// 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.
1010
// // @dart=2.18
1111
// ^^^^^^^^^^^^^
1212
//
1313
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
14-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
14+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
1515
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
1616
// ^^^^
1717
// 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.

pkg/front_end/testcases/general/extension_type_declaration_disabled.dart.weak.outline.expect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ library;
33
// Problems in library:
44
//
55
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
6-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
6+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
77
// extension type ExtensionType1(int it) {}
88
// ^^^^
99
// 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.
1010
// // @dart=2.18
1111
// ^^^^^^^^^^^^^
1212
//
1313
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
14-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
14+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
1515
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
1616
// ^^^^
1717
// 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.

pkg/front_end/testcases/general/extension_type_declaration_disabled.dart.weak.transformed.expect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ library;
33
// Problems in library:
44
//
55
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:7:11: Error: The 'inline-class' language feature is disabled for this library.
6-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
6+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
77
// extension type ExtensionType1(int it) {}
88
// ^^^^
99
// 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.
1010
// // @dart=2.18
1111
// ^^^^^^^^^^^^^
1212
//
1313
// pkg/front_end/testcases/general/extension_type_declaration_disabled.dart:8:11: Error: The 'inline-class' language feature is disabled for this library.
14-
// Try removing the `@dart=` annotation or setting the language version to 3.3 or higher.
14+
// Try removing the `@dart=` annotation or setting the language version to 3.2 or higher.
1515
// extension type ExtensionType2<T>._(int it) implements int, ExtensionType1 {}
1616
// ^^^^
1717
// 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.

pkg/kernel/lib/default_language_version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010
import "ast.dart";
1111

12-
const Version defaultLanguageVersion = const Version(3, 3);
12+
const Version defaultLanguageVersion = const Version(3, 2);

0 commit comments

Comments
 (0)