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

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

Issue 2955353002: Split inference type-info accessors into members, parameters and local functions (Closed)
Patch Set: Cleanup 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/call_site_simple_type_inferer_test.dart
diff --git a/tests/compiler/dart2js/call_site_simple_type_inferer_test.dart b/tests/compiler/dart2js/call_site_simple_type_inferer_test.dart
index 6759727c613b857d93a839d3624800ae5616497f..3960da84decb420ce955dc2da90e97bbbfc5355d 100644
--- a/tests/compiler/dart2js/call_site_simple_type_inferer_test.dart
+++ b/tests/compiler/dart2js/call_site_simple_type_inferer_test.dart
@@ -219,7 +219,7 @@ void doTest(String test, bool enableInlining, TestCallback f) {
int index = 0;
signature.forEachParameter((Element element) {
Expect.equals(expectedTypes[index++],
- simplify(inferrer.getTypeOfElement(element), closedWorld), test);
+ simplify(inferrer.getTypeOfParameter(element), closedWorld), test);
});
Expect.equals(index, expectedTypes.length);
});

Powered by Google App Engine
This is Rietveld 408576698