File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff 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.
840830extension ElementAnnotationExtension on ElementAnnotation {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ environment:
77 sdk : ^3.6.0
88
99dependencies :
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
You can’t perform that action at this time.
0 commit comments