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 |
} |