mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 16:37:43 +00:00
e1834792c3
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> |
||
---|---|---|
.. | ||
js_interop.dart | ||
js_interop_sources.gni |