| 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 9591d8927ee570ef9547b48caa36f58ccaf4306c..a34f49d47acf5118cc62a127abb0a2bd0f8cb66f 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
|
| @@ -480,6 +480,7 @@ instanceOf(obj, type) => JS(
|
| }
|
| let result = $strongInstanceOf($obj, $type);
|
| if (result !== null) return result;
|
| + if (!$_failForWeakModeIsChecks) return false;
|
| let actual = $getReifiedType($obj);
|
| $throwStrongModeError('Strong mode is-check failure: ' +
|
| $typeName(actual) + ' does not soundly subtype ' +
|
|
|