| Index: lib/runtime/dart/js.js
|
| diff --git a/lib/runtime/dart/js.js b/lib/runtime/dart/js.js
|
| index 5a81f6da26f391a390b6bf781d4bd1955cc6d9c5..e0ab058513b233af0c46aeed66ebe5a80f0342f0 100644
|
| --- a/lib/runtime/dart/js.js
|
| +++ b/lib/runtime/dart/js.js
|
| @@ -264,7 +264,7 @@ dart_library.library('dart/js', null, /* Imports */[
|
| sort(compare) {
|
| if (compare === void 0) compare = null;
|
| dart.as(compare, dart.functionType(core.int, [E, E]));
|
| - this.callMethod('sort', dart.as(compare == null ? [] : dart.list([compare], dart.functionType(core.int, [E, E])), core.List));
|
| + this.callMethod('sort', compare == null ? [] : dart.list([compare], dart.functionType(core.int, [E, E])));
|
| }
|
| }
|
| dart.defineNamedConstructor(JsArray, 'from');
|
|
|