Skip to content

Commit 303ef15

Browse files
srawlinsCommit Queue
authored andcommitted
analyzer: Update comment for Metadata.hasDeprecated
Change-Id: I0000ba19a56d0760d09da5f458122a61473e2712 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/451140 Commit-Queue: Samuel Rawlins <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
1 parent 0eee6b9 commit 303ef15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analyzer/lib/dart/element/element.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3159,8 +3159,8 @@ abstract class Metadata {
31593159
/// Whether the receiver has an annotation of the form `@awaitNotRequired`.
31603160
bool get hasAwaitNotRequired;
31613161

3162-
/// Whether the receiver has an annotation of the form `@deprecated`
3163-
/// or `@Deprecated('..')`.
3162+
/// Whether the receiver has an annotation of the form `@deprecated`,
3163+
/// `@Deprecated('..')`, or any other `Deprecated` constructor.
31643164
bool get hasDeprecated;
31653165

31663166
/// Whether the receiver has an annotation of the form `@doNotStore`.

0 commit comments

Comments
 (0)