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

Unified Diff: tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart

Issue 2955353002: Split inference type-info accessors into members, parameters and local functions (Closed)
Patch Set: Updated cf. comments Created 3 years, 6 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
Index: tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart
index 9b17e80870d24e1bf3eee6b6e1648c9bc1c46978..6a3cd4004760c81eaa25b5fdf0f91b6042509ec9 100644
--- a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart
@@ -37,7 +37,7 @@ void main() {
checkReturnInClass(String className, String methodName, type) {
dynamic cls = findElement(compiler, className);
var element = cls.lookupLocalMember(methodName);
- Expect.equals(type, typesInferrer.getReturnTypeOfElement(element));
+ Expect.equals(type, typesInferrer.getReturnTypeOfMember(element));
}
checkReturnInClass(
« no previous file with comments | « tests/compiler/dart2js/simple_inferrer_try_catch_test.dart ('k') | tests/compiler/dart2js/trust_type_annotations_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698