Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: pkg/analyzer/test/src/dart/element/element_test.dart

Issue 2997333002: Deprecate MethodElement.getReifiedType (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/member.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/dart/element/element_test.dart
diff --git a/pkg/analyzer/test/src/dart/element/element_test.dart b/pkg/analyzer/test/src/dart/element/element_test.dart
index 31f8dd0418a392704a637e9f1901719bfb873886..b2cb8457a0c41b9e2f9576d3419f6535ac699dae 100644
--- a/pkg/analyzer/test/src/dart/element/element_test.dart
+++ b/pkg/analyzer/test/src/dart/element/element_test.dart
@@ -3929,8 +3929,10 @@ class B<S> extends A<S> {
.lookUpInheritedMethod("f", library: libraryElement, thisType: true);
MethodElement AfElement = elementB.type
.lookUpInheritedMethod("f", library: libraryElement, thisType: false);
- expect(BfElement.getReifiedType(objectType),
- equals(AfElement.getReifiedType(objectType)));
+ expect(
+ BfElement.getReifiedType(objectType), // ignore: deprecated_member_use
+ equals(AfElement
+ .getReifiedType(objectType))); // ignore: deprecated_member_use
}
}
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/member.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698