-
The generated code for a typical lazy-initialized field ...
```dart
Data _data;
Data get data => _data ??= _compute();
```
... is a bit verbose:
```js
get$data: function() {
var …
-
The 'isCalledOnce' inlining signal is unreliable. The main problem is that call sites in Kernel do not correspond one-to-one to call sites in the expanded generative constructor factories.
Consider…
-
Generators like Angular Dart sometimes generate static methods that are the same as static methods in independently generated. It would be advantageous to have the compiler reuse the identical methods…
-
We are in the middle of switching over to using pre-built platform dill files when invoking dart2js, see https://github.com/flutter/flutter/issues/99161. However, it appears that dart2js does not supp…
-
On dart2js-strong-linux-x64-firefox, the step "dart2js extra tests" is timing out after 20 minutes.
https://ci.chromium.org/p/dart/builders/luci.dart.ci.sandbox/dart2js-strong-linux-x64-firefox/209…
-
Is this package and tool still used? I see it hasn't been migrated to null safety, and it doesn't look like there's been much activity in this repo lately.
cc @sigmundch @hterkelsen
-
Using dart 3.4.2 on Ubuntu 22.04
When using async/await, I noticed some difference in timing when methods are executed.
Consider the following unit test
```dart
import 'dart:async';
impor…
-
gmosx updated
9 years ago
-
Smoke (http://pub.dartlang.org/packages/smoke) is a package created by the Dart team to make it so people don't have to deal with @MirrorsUsed when generating Javascript code with dart2js.
-
Just want to let you know there is a problem between the VM and the dart2js version.
``` dart
abstract class Name {
String get firstName;
}
// Fails if compiled to JS - it works with "extends"!!…