File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
pkg/analyzer/lib/src/dart/element Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1947,7 +1947,7 @@ abstract class ElementImpl implements Element {
1947
1947
}
1948
1948
1949
1949
@override
1950
- @trackedIncludedInId
1950
+ @trackedIndirectly
1951
1951
bool isDeprecatedWithKind (String kind) => metadata.annotations
1952
1952
.where ((e) => e.isDeprecated)
1953
1953
.any ((e) => e.deprecationKind == kind);
Original file line number Diff line number Diff line change @@ -252,9 +252,8 @@ abstract class SubstitutedElementImpl implements Element {
252
252
}
253
253
254
254
@override
255
- bool isDeprecatedWithKind (String kind) => metadata.annotations
256
- .where ((e) => e.isDeprecated)
257
- .any ((e) => e.deprecationKind == kind);
255
+ bool isDeprecatedWithKind (String kind) =>
256
+ baseElement.isDeprecatedWithKind (kind);
258
257
259
258
@override
260
259
Element ? thisOrAncestorMatching (bool Function (Element e) predicate) {
You can’t perform that action at this time.
0 commit comments