Index: tool/input_sdk/private/js_helper.dart |
diff --git a/tool/input_sdk/private/js_helper.dart b/tool/input_sdk/private/js_helper.dart |
index 00bc4b5d1be31d0aa022a1a8cd94eb33d3c26c71..bf8a87851cb0efb0324e1b0ee26ec29fbc61bfb4 100644 |
--- a/tool/input_sdk/private/js_helper.dart |
+++ b/tool/input_sdk/private/js_helper.dart |
@@ -256,7 +256,7 @@ class Primitives { |
return result; |
} |
- static String stringFromCodePoints(codePoints) { |
+ static String stringFromCodePoints(/*=JSArray<int>*/ codePoints) { |
List<int> a = <int>[]; |
for (var i in codePoints) { |
if (i is !int) throw argumentErrorValue(i); |
@@ -272,7 +272,7 @@ class Primitives { |
return _fromCharCodeApply(a); |
} |
- static String stringFromCharCodes(charCodes) { |
+ static String stringFromCharCodes(/*=JSArray<int>*/ charCodes) { |
for (var i in charCodes) { |
if (i is !int) throw argumentErrorValue(i); |
if (i < 0) throw argumentErrorValue(i); |