sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
It seems dart2wasm is currently leaking functions that are used with `allowInterop` due to usage of a global map. /cc @srujzs
Per the spec, macros are not allowed to be used in the same library they are defined, or in the same library cycle. So, the analyzer should report an error....
```dart class C { final int? _x; C(this._x); @pragma("dart2js:never-inline") void manual() { var x = _x; if (x != null) print(x); else print("null"); } @pragma("dart2js:never-inline") void pattern() { if (_x...
This is the analyzer specific issue for https://github.com/dart-lang/sdk/issues/54889, which has the details.
Per the spec, macros are not allowed to be used in the same library they are defined, or in the same library cycle. So, the CFE should report an error....
This is the CFE specific issue for https://github.com/dart-lang/sdk/issues/54889, which has the details.
The VM Service allows clients to set `pause_isolates_on_start` at runtime: - https://api.flutter.dev/flutter/vm_service/VmServiceInterface/setFlag.html Here's an example of doing so in Dart DevTools: - https://github.com/flutter/devtools/compare/master...elliette:pause-isolates-on-start However, with that change, the isolates are...
When calling low level functions, e.g. `libc` wrappers around syscalls, one often gets `-1` back and `errno` will be set to the actual error message. When using `dart:ffi` to to...
### Use case Request support for android `content:// uri` in the File class there is similar closed [#25659](https://github.com/flutter/flutter/issues/25659). The conclusion of the [#25659](https://github.com/flutter/flutter/issues/25659) is to use a plugin https://pub.dev/packages/flutter_absolute_path which...
Hey there, It seems that when you run analysis using the dart CLI and choosing output format JSON, you can't pipe it to a parser without cleaning the output a...