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

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

Issue 23230003: Fix test to not generate a NoSuchMethodError. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « sdk/lib/_internal/compiler/implementation/js_backend/backend.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/list_tracer_test.dart
===================================================================
--- tests/compiler/dart2js/list_tracer_test.dart (revision 26182)
+++ tests/compiler/dart2js/list_tracer_test.dart (working copy)
@@ -154,14 +154,14 @@
listOnlySetWithConstraint[0]++;
listEscapingInSetterValue[0] = anInt;
- new A().callSetter = listEscapingInSetterValue;
+ new A(null).callSetter = listEscapingInSetterValue;
listEscapingInIndex[0] = anInt;
- new A()[listEscapingInIndex];
+ new A(null)[listEscapingInIndex];
- new A()[listEscapingInIndexSet] = 42;
+ new A(null)[listEscapingInIndexSet] = 42;
- new A()[listEscapingTwiceInIndexSet] = listEscapingTwiceInIndexSet;
+ new A(null)[listEscapingTwiceInIndexSet] = listEscapingTwiceInIndexSet;
listPassedAsOptionalParameter[0] = anInt;
takeOptional(listPassedAsOptionalParameter);
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/js_backend/backend.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698