sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
This will fail (possibly the status entry in pkg/front_end/testcases/strong.status and/or pkg/front_end/testcases/weak.status has to be removed): ``` out/ReleaseX64/dart --enable-asserts pkg/front_end/test/fasta/weak_suite.dart -DsemiFuzz=true -- weak/macros/multiple_augment_class ``` or ``` out/ReleaseX64/dart --enable-asserts pkg/front_end/test/fasta/strong_suite.dart -DsemiFuzz=true --...
Hi thanks for the language! But even on a 1-line hello-world pure-Dart example, Valgrind reports hundreds of `Mismatched free() / delete / delete []` errors. Dart code: ``` void main()...
Usually the corelib `List` constructors can be used to create a JavaScript `Array` for js-interop purposes. Occasionally this is not sufficient. Sometimes it is required to create a JavaScript `Array`...
This was noticed by a user on stackoverflow: https://stackoverflow.com/questions/73778870/is-dartdocs-about-the-entry-of-isolate-spawn-wrong-or-something Currently the [documentation](https://api.dart.dev/stable/2.18.1/dart-isolate/Isolate/spawn.html) says: > The function must be a top-level function or a static method that can be called with...
e.g. `co19/LanguageFeatures/Records/type_promotion_A02_t01` as in https://github.com/dart-lang/co19/issues/1452
The specification [says](https://github.com/dart-lang/language/blob/master/accepted/future-releases/records/records-feature-specification.md#record-type-annotations): A field name that collides with the synthesized getter name of a positional field. For example: (int, $0: int) since the named field '$0' collides with the...
I speculate here, based on what I remember, check it.
This tracker is for issues related to: **Analyzer** ```powershell PS X:\Coding\Garages\AstroxGarage\agent_dart> dart fix --apply lib Computing fixes in lib... Error from the analysis server: Exception while getting bulk fixes: Exception...
I was following flutter's guide (https://github.com/flutter/flutter/wiki/Data-driven-Fixes#test-folder) and couldn't find `--compare-to-golden` in Dart fix help. I couldn't also find if there is a way to trigger "compare to golden" in a...
Dart debug extension build skips generating `background.js` file when the library `package:dwds/src/utilities/batched_stream.dart` (https://github.com/dart-lang/webdev/blob/b6439072d118b740fbc2d0e5af4e10952642d864/dwds/lib/src/utilities/batched_stream.dart#L9) is used by the dart extension and unrelated dwds code. Note: the build was working fine until...