dart2js computes some number operations with non-web semantics #44818
Labels
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
web-dart2js
The following:
prints
double
andint
in dart2js (2.10.4 - current dartpad).For the former, it generates:
which appears to unconditionally return
double
(sdk/sdk/lib/_internal/js_runtime/lib/js_number.dart
Line 700 in 368d9f3
For the latter, it generates:
The text was updated successfully, but these errors were encountered: