| Index: pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| diff --git a/pkg/dev_compiler/lib/js/common/dart_sdk.js b/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| index e804e75961d803fc03f57bff57b887d884664317..0b3212c98aa8533cab77114db2ce548eda1d3990 100644
|
| --- a/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| +++ b/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| @@ -32627,6 +32627,16 @@ core.Expando._keyCount = 0;
|
| core.Function = class Function extends core.Object {
|
| static apply(f, positionalArguments, namedArguments) {
|
| if (namedArguments === void 0) namedArguments = null;
|
| + let t = positionalArguments;
|
| + t == null ? positionalArguments = [] : t;
|
| + if (namedArguments != null && dart.test(namedArguments[dartx.isNotEmpty])) {
|
| + let map = {};
|
| + namedArguments[dartx.forEach](dart.fn((symbol, arg) => {
|
| + map[core._symbolToString(symbol)] = arg;
|
| + }, SymbolAnddynamicToNull()));
|
| + positionalArguments = core.List.from(positionalArguments);
|
| + positionalArguments[dartx.add](map);
|
| + }
|
| return dart.dcall.apply(null, [f].concat(positionalArguments));
|
| }
|
| static _toMangledNames(namedArguments) {
|
|
|