Skip to content

Commit f4cadd5

Browse files
lrhnCommit Queue
authored andcommitted
Retired inference-using-bounds and wildcard-variables experiments.
Change-Id: I5dcc0c7d2b148eb88e6382118d6fc8ee4c9a9489 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407022 Reviewed-by: Alexander Thomas <[email protected]> Commit-Queue: Lasse Nielsen <[email protected]>
1 parent b8993db commit f4cadd5

File tree

43 files changed

+8
-70
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+8
-70
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ enum ExperimentalFlag {
132132
inferenceUsingBounds(
133133
name: 'inference-using-bounds',
134134
isEnabledByDefault: true,
135-
isExpired: false,
135+
isExpired: true,
136136
experimentEnabledVersion: const Version(3, 7),
137137
experimentReleasedVersion: const Version(3, 7)),
138138

@@ -272,7 +272,7 @@ enum ExperimentalFlag {
272272
wildcardVariables(
273273
name: 'wildcard-variables',
274274
isEnabledByDefault: true,
275-
isExpired: false,
275+
isExpired: true,
276276
experimentEnabledVersion: const Version(3, 7),
277277
experimentReleasedVersion: const Version(3, 7)),
278278
;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ class IsExpired {
781781
static const bool inference_update_4 = false;
782782

783783
/// Expiration status of the experiment "inference-using-bounds"
784-
static const bool inference_using_bounds = false;
784+
static const bool inference_using_bounds = true;
785785

786786
/// Expiration status of the experiment "inline-class"
787787
static const bool inline_class = true;
@@ -841,7 +841,7 @@ class IsExpired {
841841
static const bool variance = false;
842842

843843
/// Expiration status of the experiment "wildcard-variables"
844-
static const bool wildcard_variables = false;
844+
static const bool wildcard_variables = true;
845845
}
846846

847847
mixin _CurrentState {

pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class ExperimentalFlag {
198198
static const ExperimentalFlag inferenceUsingBounds = const ExperimentalFlag(
199199
name: 'inference-using-bounds',
200200
isEnabledByDefault: true,
201-
isExpired: false,
201+
isExpired: true,
202202
enabledVersion: const Version(3, 7),
203203
experimentEnabledVersion: const Version(3, 7),
204204
experimentReleasedVersion: const Version(3, 7));
@@ -358,7 +358,7 @@ class ExperimentalFlag {
358358
static const ExperimentalFlag wildcardVariables = const ExperimentalFlag(
359359
name: 'wildcard-variables',
360360
isEnabledByDefault: true,
361-
isExpired: false,
361+
isExpired: true,
362362
enabledVersion: const Version(3, 7),
363363
experimentEnabledVersion: const Version(3, 7),
364364
experimentReleasedVersion: const Version(3, 7));
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
--enable-experiment=inference-using-bounds
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
--enable-experiment=wildcard-variables

tests/language/inference_using_bounds/f_bounded_inheritance_hierarchy_root_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// SharedOptions=--enable-experiment=inference-using-bounds
6-
75
import '../static_type_helper.dart';
86

97
class A<X extends A<X>> {}

tests/language/inference_using_bounds/f_bounded_mutually_recursive_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// SharedOptions=--enable-experiment=inference-using-bounds
6-
75
import '../static_type_helper.dart';
86

97
class A1<X extends A1<X, Y>, Y extends A2<X, Y>> {}

0 commit comments

Comments
 (0)