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

Unified Diff: frog/lib/string_base.dart

Issue 9270048: Lots of frog cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
« frog/gen.dart ('K') | « frog/lib/num.dart ('k') | frog/library.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/lib/string_base.dart
diff --git a/frog/lib/string_base.dart b/frog/lib/string_base.dart
index fa7eb1d6f5b9d7703612cb5a92365de3b19cdf35..3903a46aba3f0b38a365b28942865dd375a5b43c 100644
--- a/frog/lib/string_base.dart
+++ b/frog/lib/string_base.dart
@@ -13,6 +13,8 @@ if (Object.getPrototypeOf(charCodes) !== Array.prototype) {
}
return String.fromCharCode.apply(null, charCodes);
''' {
+ // we may need to iterate over charCodes
+ var i = charCodes.iterator(); i.next(); i.hasNext();
new ListFactory.from(charCodes); // ensure List.from is generated
}
« frog/gen.dart ('K') | « frog/lib/num.dart ('k') | frog/library.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698