Open
Description
I use tools/test.py -cdar2js
to test web code.
That currently gives me an error containing the following stack header when trying to run a test (tests/lib/async/stream_periodic3_test.dart
):
Deobfuscated error and stack:
at wrapException org-dartlang-sdk:///lib/_intern
al/js_runtime/lib/js_helper.dart 1209:19
at _Platform._operatingSystem org-dartlang-sdk:///lib/_intern
al/js_runtime/lib/io_patch.dart 243:5
at _Platform.operatingSystem org-dartlang-sdk:///lib/io/plat
form_impl.dart 56:40
at Stopwatch._frequency org-dartlang-sdk:///lib/io/plat
form.dart 83:44
That suggests that something is compiled using VM library code, because the web implementation of Stopwatch
does not reference Platform
.
If I explicitly write -ndart2js-production-linux-d8
or a similar standard configuration string, compilation works.