Skip to content

Commit bdff483

Browse files
stereotype441Commit Queue
authored andcommitted
[meta] Remove @experimental annotation from @redeclare.
This annotation has been supported for some time, and is a valuable piece of the "extension types" feature. Change-Id: I6a6a6964f02564ff673cbdd6fca6b8bc69e5a06a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/451160 Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Paul Berry <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
1 parent d65c6da commit bdff483

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

pkg/analyzer/lib/src/test_utilities/mock_packages.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ const _OptionalTypeArgs optionalTypeArgs = _OptionalTypeArgs();
125125
126126
const _Protected protected = _Protected();
127127
128-
@experimental
129128
const _Redeclare redeclare = _Redeclare();
130129
131130
const _Reopen reopen = _Reopen();

pkg/analyzer_testing/lib/mock_packages/package_content/meta/lib/meta.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,6 @@ const _Protected protected = _Protected();
434434
/// member of an extension type (a method, operator, getter, or setter) or
435435
/// * is applied to a member that does not redeclare a member from either the
436436
/// extended type or a superinterface.
437-
@experimental
438437
const _Redeclare redeclare = _Redeclare();
439438

440439
/// Annotation for intentionally loosening restrictions on subtyping that would

pkg/meta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.18.0-dev
2+
3+
- The `@redeclare` annotation is no longer considered experimental.
4+
15
## 1.17.0
26

37
- Introduce `@awaitNotRequired` to annotate `Future`-returning functions and

pkg/meta/lib/meta.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ const _Protected protected = _Protected();
436436
/// member of an extension type (a method, operator, getter, or setter) or
437437
/// * is applied to a member that does not redeclare a member from either the
438438
/// extended type or a superinterface.
439-
@experimental
440439
const _Redeclare redeclare = _Redeclare();
441440

442441
/// Annotation for intentionally loosening restrictions on subtyping that would

pkg/meta/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: meta
22
# Note, because version `2.0.0` was mistakenly released,
33
# the next major version must be `3.x.y`.
4-
version: 1.17.0
4+
version: 1.18.0-dev
55
description: >-
66
Annotations used to express developer intentions that can't otherwise be
77
deduced by statically analyzing source code.

0 commit comments

Comments
 (0)