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

Unified Diff: tests/compiler/dart2js/concrete_type_inference_test.dart

Issue 17028011: Implement a list tracer phase, that tries to find element types in individual lists. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/concrete_type_inference_test.dart
===================================================================
--- tests/compiler/dart2js/concrete_type_inference_test.dart (revision 24023)
+++ tests/compiler/dart2js/concrete_type_inference_test.dart (working copy)
@@ -63,6 +63,7 @@
});
checkPrintType('[]', (compiler, type) {
var inferrer = compiler.typesTask.typesInferrer;
+ if (type.isContainer) type = type.asFlat;
Expect.identical(inferrer.growableListType, type);
});
checkPrintType('null', (compiler, type) {
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/types/union_type_mask.dart ('k') | tests/compiler/dart2js/list_tracer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698