| 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..c4fb2deb0fa9fc452ba623ac3f663010de2b4e53 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
|
| @@ -496,7 +496,7 @@ bool strongInstanceOf(obj, type, ignoreFromWhiteList) => JS(
|
| let actual = $getReifiedType($obj);
|
| let result = $isSubtype(actual, $type);
|
| if (result || actual == $jsobject ||
|
| - actual == $int && type == $double) return true;
|
| + (actual == $int && $isSubtype($double, $type))) return true;
|
| if (result === false) return false;
|
| if (!$_ignoreWhitelistedErrors || ($ignoreFromWhiteList == void 0)) return result;
|
| if ($_ignoreTypeFailure(actual, $type)) return true;
|
|
|