sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
This is an umbrella issue to track efforts around reduction of critical path when building large Flutter applications in AOT mode
While looking at [this co19 test](https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Wildcards/super_parameters_A02_t04.dart), I noticed that the CFE doesn't report an error for this code: ```dart class A { int x; A(this.x); } class C extends A...
I noticed that [ContextBuilder](https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/lib/dart/analysis/context_builder.dart) currently passes through null `macroSupport` by default, with no way to provide one. (Unless you cast to `ContextBuilderImpl`). So people using the analyzer as a library...
This issue tracks the implementation of the Null-aware elements feature. ## References * [Original issue](https://github.com/dart-lang/language/issues/323) * [Feature Specification](https://github.com/dart-lang/language/blob/main/working/0323-null-aware-elements/feature-specification.md) * [Project](https://github.com/orgs/dart-lang/projects/92) * Test Tracking Sheet TBD ## Work Items (WIP) -...
This issue tracks the implementation of the augmentations feature.
Although `SecureSocket.connect()` has set a `timeout `parameter of 500ms, I just encountered a situation where the timeout exception is not thrown even after exceeding 500ms, and the reason is unknown....
OS: Maco OS Sonoma version: 14.2.1 Dart SDK Version: 3.0.0-75.0.dev (dev) (Thu Dec 29 16:50:26 2022 -0800) on "macos_x64" the entire message you see here (including the full stack trace...
In JS, it's legal to pass more arguments to a function than that function declares. For example, `(() => {})(1)` is valid code. In Dart this is not legal, and...
The `[]=` call in `_GrowableList.add` [here](https://github.com/dart-lang/sdk/blob/2d252d5c49e59ae105ff089eff4baf0f7d401947/sdk/lib/_internal/vm/lib/growable_array.dart#L284) generates an index bounds check: ```dart @pragma("vm:entry-point", "call") @pragma("vm:prefer-inline") void add(T value) { var len = length; if (len == _capacity) { _growToNextCapacity(); }...
With the recent beta release of wasm for flutter i wanted to try compling my application to the new target. As (somewhat) expected i ran into some js interop issues....