| 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 d94d1a995bafd3dee2710c5e2322ac35d5c314d3..68d8fd043781de47e7957051c8067abbc6152953 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
|
| @@ -513,6 +513,9 @@ instanceOfOrNull(obj, type) => JS(
|
| instanceOf(obj, type) => JS(
|
| '',
|
| '''(() => {
|
| + if ($obj == null) {
|
| + return $type == $Null || $_isTop($type);
|
| + }
|
| let result = $strongInstanceOf($obj, $type);
|
| if (result !== null) return result;
|
| let actual = $getReifiedType($obj);
|
|
|