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

Unified Diff: tests/compiler/dart2js/list_tracer_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/list_tracer_test.dart
diff --git a/tests/compiler/dart2js/list_tracer_test.dart b/tests/compiler/dart2js/list_tracer_test.dart
index e577c9ff77e4e8443be379dcee4740725a71e714..52f5594f8ce2dd86ed410e5bb7d01a68a49ad06b 100644
--- a/tests/compiler/dart2js/list_tracer_test.dart
+++ b/tests/compiler/dart2js/list_tracer_test.dart
@@ -204,7 +204,7 @@ void doTest(String allocation, {bool nullify}) {
checkType(String name, type) {
var element = findElement(compiler, name);
- ContainerTypeMask mask = typesInferrer.getTypeOfElement(element);
+ ContainerTypeMask mask = typesInferrer.getTypeOfMember(element);
if (nullify) type = type.nullable();
Expect.equals(type, simplify(mask.elementType, closedWorld), name);
}
« no previous file with comments | « tests/compiler/dart2js/list_tracer3_test.dart ('k') | tests/compiler/dart2js/list_tracer_typed_data_length_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698