Skip to content

Commit f1b3d5e

Browse files
committed
Merge branch 'main' into has-location
2 parents df294a4 + f82cd35 commit f1b3d5e

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

lib/src/model/model_element.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -825,16 +825,6 @@ extension on Element {
825825
}
826826
}
827827

828-
// Copied from analyzer's `lib/src/dart/element/extensions.dart`. Re-use that
829-
// extension if it becomes public.
830-
extension on Element {
831-
/// Whether this Element is annotated with a `Deprecated` annotation with a
832-
/// `_DeprecationKind` of [kind].
833-
bool isDeprecatedWithKind(String kind) => metadata.annotations
834-
.where((e) => e.isDeprecated)
835-
.any((e) => e.deprecationKind == kind);
836-
}
837-
838828
// Copied from analyzer's `lib/src/dart/element/extensions.dart`. Re-use that
839829
// extension if it becomes public.
840830
extension ElementAnnotationExtension on ElementAnnotation {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ environment:
77
sdk: ^3.6.0
88

99
dependencies:
10-
analyzer: ^8.2.0
10+
analyzer: ^8.4.0
1111
args: ^2.4.1
1212
collection: ^1.17.0
1313
crypto: ^3.0.3

0 commit comments

Comments
 (0)