sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
Currently, when doc comments contain code snippets with the following, ```dart ///```dart ///``` ``` all of our tooling supports this. However, when using the following, the VS Code highlighter doesn't...
The Flutter app crashes when I try to inspect (watch) a value with the debugger. A simple way to reproduce this can be found here: https://github.com/marcglasberg/fast_immutable_collections/issues/42 By following the explanation...
dartdevk doesn't implement `yield/yield*` behavior described in https://github.com/dart-lang/language/blob/master/accepted/future-releases/async-star-behavior/feature-specification.md There are several issues. 1) If execution is paused on `yield/yield*` and stream is cancelled, then `yield*` should act like a `return;`...
``` dart class Scene extends NativeFieldWrapperClass1 { @FfiNative('Scene::dispose') external void dispose(); } ``` `NativeFieldWrapperClass`es often share their identity between Dart and C++. The first, and in this case only native...
`dart analyze` incorrectly infers the type `StreamController` on a field explicitly typed as `StreamController`. See `ElementStream.controller` in the example below. This causes the analyzer to flag the assignment in `MyWidget`...
Please see `RawDatagramSocket.bind()` [documentation](https://api.dart.dev/dev/2.19.0-50.0.dev/dart-io/RawDatagramSocket/bind.html) > ```dart > Future bind( > dynamic host, > int port, > {bool reuseAddress = true, > bool reusePort = false, > int ttl = 1}...
A class with a late member, declared with an initializer, fails to get initialized when accessed if the program is compiled with dart2js optimization level 0. The initialization is carried...
The following code runs successfully on VM and Chrome (if compiled with DDC), but fails on dart pad with a runtime error (or in chrome when compiled with dart2js): ```dart...
Using postMessage on a Worker or MessagePort throws `UnimplementedError: structured clone of other type `. when passing a SharedArrayBuffer. This is when using dart2js to compile workers to javascript. I...
The idea here is to allow (and encourage) users to write a `@Deprecated` message as if it were a doc comment, using square brackets to refer to elements, and to...