-
The dill filenames in the packaged Dart SDK that is shipped externally have recently changed (see https://github.com/dart-lang/sdk/issues/50700). Flutter generates its own Dart SDK, and is therefore r…
-
In terms of the actual implementation, we need to make sure that there is some path for dart2js to implement this without an unacceptable amount of code bloat. Specifically, I am concerned about havin…
-
Bots like package-linux-collection try to run all the tests with jsshell, and this fails because jsshell does not support non-zero timers, and package:test uses them for its Invoker.heartbeat.
We sho…
-
If there is a web compilation error, users will see a deprecation error from having used dart2js rather than the replacement dart compile js. Even though this should not cause compilation to fail, it …
-
I am trying to use the BroadcastChannel api , to send communication between a service worker and the main thread. Our app is hybrid, currently support web, ios and android.
Even when importing from…
-
Hi,
I was testing the fix to https://github.com/flutter/flutter/issues/87686 and I notice that if I scroll up and down or drag the scrollbar fast I get a setState error. I also notice the platformE…
-
-
Class Profiler has a const constructor, yet its field 'counters' is initialized with 'new Counters()'. The language has recently changed and non-const initializers are no longer legal in classes that …
-
Some info about flame graph diffs here: https://github.com/brendangregg/FlameGraph.
Original request from @sigmundch, who created some diffs for dart2js.
-
dart2js version: 2.6.0-2019-09-18
OS: Linux
Browser: Chrome
dart2js compiles the following dart code to wrong js.
```dart
var t = 0;
Future test() async {
var r = 'test1';
if (t == …