Index: tool/input_sdk/patch/core_patch.dart |
diff --git a/tool/input_sdk/patch/core_patch.dart b/tool/input_sdk/patch/core_patch.dart |
index 55b7edb98daaf982330e9c566cc8c61a3a61806b..ede6eca2a61ebd6eaade1568a12db979ea0aa13f 100644 |
--- a/tool/input_sdk/patch/core_patch.dart |
+++ b/tool/input_sdk/patch/core_patch.dart |
@@ -365,7 +365,8 @@ class String { |
'String.fromEnvironment can only be used as a const constructor'); |
} |
- static String _stringFromJSArray(List list, int start, int endOrNull) { |
+ static String _stringFromJSArray( |
+ /*=JSArray<int>*/ list, int start, int endOrNull) { |
int len = list.length; |
int end = RangeError.checkValidRange(start, endOrNull, len); |
if (start > 0 || end < len) { |