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

Unified Diff: tests/compiler/dart2js/type_inference_switch_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
« no previous file with comments | « tests/compiler/dart2js/type_inference8_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_inference_switch_test.dart
diff --git a/tests/compiler/dart2js/type_inference_switch_test.dart b/tests/compiler/dart2js/type_inference_switch_test.dart
index f28444bd21e2737f7328269ff5be35779222d5a5..56e468ed7e076ac8bfe4a555f22310e6eb9f9843 100644
--- a/tests/compiler/dart2js/type_inference_switch_test.dart
+++ b/tests/compiler/dart2js/type_inference_switch_test.dart
@@ -140,7 +140,7 @@ Future runTest(String test, checker) {
checkTypeOf(String name, TypeMask type) {
var element = findElement(compiler, name);
- var mask = typesInferrer.getReturnTypeOfElement(element);
+ var mask = typesInferrer.getReturnTypeOfMember(element);
Expect.equals(type, simplify(mask, closedWorld));
}
« no previous file with comments | « tests/compiler/dart2js/type_inference8_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698