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

Unified Diff: tests/compiler/dart2js/simple_inferrer_closure_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_closure_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_closure_test.dart b/tests/compiler/dart2js/simple_inferrer_closure_test.dart
index 4899319120b07eb27f8cc3e4f3fa0e84bc72f6ce..33dcb6f80bdb2c91491c231e3b55847a9886783d 100644
--- a/tests/compiler/dart2js/simple_inferrer_closure_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_closure_test.dart
@@ -126,7 +126,7 @@ void main() {
Expect.equals(
type,
simplify(
- typesInferrer.getReturnTypeOfElement(element), closedWorld),
+ typesInferrer.getReturnTypeOfMember(element), closedWorld),
name);
}
@@ -151,7 +151,7 @@ void main() {
Expect.equals(
type,
simplify(
- typesInferrer.getReturnTypeOfElement(element), closedWorld));
+ typesInferrer.getReturnTypeOfMember(element), closedWorld));
}
dynamic cls = findElement(compiler, 'A');

Powered by Google App Engine
This is Rietveld 408576698