| Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
|
| diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
|
| index 629ae6b05d79c79e2824a759db5ef874bbb855c9..d936333eb597ac7899138f4fad420911976adc1e 100644
|
| --- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
|
| +++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
|
| @@ -58,7 +58,7 @@ _checkApply(type, actuals) => JS(
|
| if ($actuals.length < $type.args.length) return false;
|
| let index = 0;
|
| for(let i = 0; i < $type.args.length; ++i) {
|
| - if (!$instanceOfOrNull($actuals[i], $type.args[i])) return false;
|
| + $check($actuals[i], $type.args[i]);
|
| ++index;
|
| }
|
| if ($actuals.length == $type.args.length) return true;
|
| @@ -66,7 +66,7 @@ _checkApply(type, actuals) => JS(
|
| if ($type.optionals.length > 0) {
|
| if (extras > $type.optionals.length) return false;
|
| for(let i = 0, j=index; i < extras; ++i, ++j) {
|
| - if (!$instanceOfOrNull($actuals[j], $type.optionals[i])) return false;
|
| + $check($actuals[j], $type.optionals[i]);
|
| }
|
| return true;
|
| }
|
| @@ -84,7 +84,7 @@ _checkApply(type, actuals) => JS(
|
| if (!($hasOwnProperty.call($type.named, name))) {
|
| return false;
|
| }
|
| - if (!$instanceOfOrNull(opts[name], $type.named[name])) return false;
|
| + $check(opts[name], $type.named[name]);
|
| }
|
| return true;
|
| })()''');
|
|
|