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

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

Issue 11577003: Fix test now that we also go through an interceptor for operator[]. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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 | « no previous file | 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_test.dart
===================================================================
--- tests/compiler/dart2js/type_inference_test.dart (revision 16094)
+++ tests/compiler/dart2js/type_inference_test.dart (working copy)
@@ -29,6 +29,7 @@
const String TEST_THREE = r"""
foo(a) {
+ print([]);
kasperl 2012/12/13 12:08:58 Add comment: // Force a list to be instantiated.
for (int b = 0; b < 10; b++) print(a[b]);
}
""";
@@ -49,6 +50,7 @@
const String TEST_FIVE_WITH_BAILOUT = r"""
foo(a) {
+ print([]);
kasperl 2012/12/13 12:08:58 Ditto.
for (int i = 0; i < 1; i++) {
a[0] = 1;
print(a[1]);
@@ -58,6 +60,7 @@
const String TEST_SIX = r"""
foo(a) {
+ print([]);
kasperl 2012/12/13 12:08:58 Ditto.
print(a[0]);
while (true) {
a[0] = a[1];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698