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

Unified Diff: tests/compiler/dart2js/simple_inferrer_const_closure5_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_const_closure5_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart
index c8bafe6f52c73abc106964bbceb5a0c95e07abb7..0344ebb02d6cf7b5a6ead60ea4ea927c3575459f 100644
--- a/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart
@@ -38,7 +38,7 @@ void main() {
var element = signature.requiredParameters.first;
Expect.equals(
type,
- simplify(typesInferrer.getTypeOfElement(element), closedWorld),
+ simplify(typesInferrer.getTypeOfParameter(element), closedWorld),
functionName);
}

Powered by Google App Engine
This is Rietveld 408576698