| Index: pkg/dev_compiler/lib/js/amd/dart_sdk.js
|
| diff --git a/pkg/dev_compiler/lib/js/amd/dart_sdk.js b/pkg/dev_compiler/lib/js/amd/dart_sdk.js
|
| index 5494cb67b1b86e62378a6446d527c20970a5dbf0..b6da6fe94b83b59071f73e131a3fc186a5e93925 100644
|
| --- a/pkg/dev_compiler/lib/js/amd/dart_sdk.js
|
| +++ b/pkg/dev_compiler/lib/js/amd/dart_sdk.js
|
| @@ -1988,6 +1988,9 @@ define([], function() {
|
| return dart.noSuchMethod(obj, new dart.InvocationImpl(field, [value], {isSetter: true}));
|
| };
|
| dart._checkApply = function(type, actuals) {
|
| + if (type instanceof Array) {
|
| + type = type[0];
|
| + }
|
| if (actuals.length < type.args.length) return false;
|
| let index = 0;
|
| for (let i = 0; i < type.args.length; ++i) {
|
|
|