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

Unified Diff: tests/compiler/dart2js/simple_inferrer_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_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_test.dart b/tests/compiler/dart2js/simple_inferrer_test.dart
index 90344184a8f53708555ec7711255baa8bbf02128..2e83323e9f0cbcb4361ecfe8558ea86d02f8454a 100644
--- a/tests/compiler/dart2js/simple_inferrer_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_test.dart
@@ -736,7 +736,7 @@ void main() {
Expect.equals(
type,
simplify(
- typesInferrer.getReturnTypeOfElement(element), closedWorld),
+ typesInferrer.getReturnTypeOfMember(element), closedWorld),
name);
}
@@ -834,7 +834,7 @@ void main() {
Expect.equals(
type,
simplify(
- typesInferrer.getReturnTypeOfElement(element), closedWorld),
+ typesInferrer.getReturnTypeOfMember(element), closedWorld),
'$className:$methodName');
}
@@ -867,7 +867,7 @@ void main() {
dynamic cls = findElement(compiler, className);
var element = cls.localLookup(factoryName);
Expect.equals(new TypeMask.nonNullExact(cls, closedWorld),
- typesInferrer.getReturnTypeOfElement(element));
+ typesInferrer.getReturnTypeOfMember(element));
}
checkFactoryConstructor('A', '');

Powered by Google App Engine
This is Rietveld 408576698