sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
My dart code extension keeps crashing even after restarting it It says dart analysis server keeps crashing, it says restarting analysis server failed
Consider the following example: ```dart void main() { for (var _ in ([] as Object)) {} // Error. } ``` This incurs the compile-time error "The type 'Object' used in...
We should start allowing dart2wasm to inline functions across wasm modules. A function can inline a target function if the target is guaranteed to be loaded when the calling function...
(continuation of discussions in https://github.com/dart-lang/sdk/issues/61588) Recently we added remote functionality to the `dart run` command (still not in stable). The currently landed syntax is: ```txt > dart run /[:] >...
Dart & Flutter has suddenly become unusable slow in VSCode. Intellisense won't load within 30+ seconds, syntax highlighting won't update, jumping to code definitions loads infinitely, etc. This seems to...
# Issue Just having VSCode open brings the the CPU and Memory Usage to the maximum. This did not happen when using 3.10.0, but now switching the devenv nix channel...
Id zone allocation is implemented by appending to a list and deletion is implemented by replacing the element with null. Repeatedly allocating and deleted id zones thus consumes memory proportional...
It becomes increasingly difficult to use JIT for development on iOS (https://github.com/flutter/flutter/issues/163984, https://github.com/flutter/flutter/issues/175962). Eventually we would like to step away from using JIT and replace it with a new AOT...
Repro: ```dart class C { C(); C._(); C.named(); final int field; } ``` 1. Only the first constructor shows `Add final initializing formal (required named) parameters` (maybe it doesn't know...
While fixing https://github.com/dart-lang/sdk/issues/61186, I noticed this repro below had no `Create method` fix: ```dart class A {} T? Function() g(A a) => a.test; ``` I've made it work, but if...