| 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 68d8fd043781de47e7957051c8067abbc6152953..6f4236c65a8f00db2fbe669bfa4c72b835f1a026 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
|
| @@ -137,6 +137,11 @@ dput(obj, field, value) {
|
| _checkApply(type, actuals) => JS(
|
| '',
|
| '''(() => {
|
| + // TODO(vsm): Remove when we no longer need mirrors metadata.
|
| + // An array is used to encode annotations attached to the type.
|
| + 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) {
|
|
|