mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() Fixes https://github.com/dart-lang/sdk/issues/55024 The patch files for these operators return a bool, whereas the public API returns a JSBoolean. Since there's only one possible return type, we should make them return bool for convenience. Boolean conversion is also inexpensive on dart2wasm, so that shouldn't be an issue. Also adds helpers to operator_test to make sure any JS values are converted before they're compared, adding additional type checking through the conversion. CoreLibraryReviewExempt: Fixes type mismatch in backend-specific library. Change-Id: I7ff2e334e817e6e7d7d8d5091a4e5d570a496b03 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/354702 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com> |
||
---|---|---|
.. | ||
export | ||
extends_test | ||
js_util | ||
native_as_js_classes_static_test | ||
static_interop_test | ||
subtyping_test | ||
array_test.dart | ||
constructor_parameters_static_test.dart | ||
datetime_roundtrip_test.dart | ||
extends_static_test.dart | ||
external_member_static_test.dart | ||
external_nonjs_static_test.dart | ||
external_static_test.dart | ||
implements_static_test.dart | ||
instanceof_test.dart | ||
is_check_and_as_cast_test.dart | ||
js_annotation_static_test.dart | ||
method_call_on_object_test.dart | ||
mock_test.dart | ||
no_library_annotation_test.dart | ||
null_test.dart | ||
object_apis_interop_values_test.dart | ||
object_apis_utils.dart | ||
operator_static_test.dart | ||
parameters_static_test.dart | ||
parameters_test.dart | ||
prototype_access_test.dart | ||
static_class_member_static_test.dart | ||
trust_types_annotation_test.dart | ||
trust_types_test.dart | ||
type_parameter_lowering_test.dart |