| 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 20001cef3e56793e142b78209742336743dc07ec..02ade29b40d32ed744f02737c3bd317964eb38d5 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
|
| @@ -243,7 +243,7 @@ _checkAndCall(f, ftype, obj, typeArgs, args, name) => JS(
|
| // Grab the `call` method if it's not a function.
|
| if ($f != null) {
|
| $ftype = $getMethodType($getType($f), 'call');
|
| - $f = $f.call;
|
| + $f = f.call ? $bind($f, 'call') : void 0;
|
| }
|
| if (!($f instanceof Function)) {
|
| return callNSM();
|
|
|