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

Unified Diff: tests/compiler/dart2js/simple_inferrer_const_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_const_closure_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure_test.dart
index 13e6876180351d217da9760fab02c809eadbebbe..7194d5cca20194082539707b6afd7a4632bdb4ca 100644
--- a/tests/compiler/dart2js/simple_inferrer_const_closure_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure_test.dart
@@ -42,7 +42,7 @@ void main() {
checkReturn(String name, type) {
var element = findElement(compiler, name);
- dynamic returnType = typesInferrer.getReturnTypeOfElement(element);
+ dynamic returnType = typesInferrer.getReturnTypeOfMember(element);
Expect.equals(type, returnType.simplify(compiler), name);
}

Powered by Google App Engine
This is Rietveld 408576698