| Index: sdk/lib/_internal/compiler/js_lib/core_patch.dart
|
| diff --git a/sdk/lib/_internal/compiler/js_lib/core_patch.dart b/sdk/lib/_internal/compiler/js_lib/core_patch.dart
|
| index 6d327fa05e8d8c499a4a772918accd257b0b9e2c..49cc6cbd6203d8934a8848b6b0282c79db633acf 100644
|
| --- a/sdk/lib/_internal/compiler/js_lib/core_patch.dart
|
| +++ b/sdk/lib/_internal/compiler/js_lib/core_patch.dart
|
| @@ -309,7 +309,7 @@ class String {
|
| int start, int end) {
|
| if (start < 0) throw new RangeError.range(start, 0, charCodes.length);
|
| if (end != null && end < start) {
|
| - throw new RangeError.value(end, start, charCodes.length);
|
| + throw new RangeError.range(end, start, charCodes.length);
|
| }
|
| var it = charCodes.iterator;
|
| for (int i = 0; i < start; i++) {
|
|
|