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

Unified Diff: tests/compiler/dart2js_extra/bailout_test.dart

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head Created 7 years, 10 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/co19/co19-runtime.status ('k') | tests/compiler/dart2js_extra/string_escape_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/bailout_test.dart
diff --git a/tests/compiler/dart2js_extra/bailout_test.dart b/tests/compiler/dart2js_extra/bailout_test.dart
index 308658a1adbbebd2a508f711d26db607a24d1ac1..dd31071fefd7256deca189f58f3d655541bdac85 100644
--- a/tests/compiler/dart2js_extra/bailout_test.dart
+++ b/tests/compiler/dart2js_extra/bailout_test.dart
@@ -45,7 +45,7 @@ String forBailout() {
String forInBailout() {
var n = myString.length;
var res = '';
- for (int i in myString.charCodes) {
+ for (int i in myString.codeUnits) {
var o = myString;
if (false) o[1] = 2;
res = res.concat(new String.fromCharCodes([i]));
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/compiler/dart2js_extra/string_escape_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698