sdk icon indicating copy to clipboard operation
sdk copied to clipboard

The Dart SDK, including the VM, dart2js, core libraries, and more.

Results 764 sdk issues
Sort by recently updated
recently updated
newest added

The `dart:async` library has a number of error callback functions which are typed as `Function`, so that they can allow both a `... Function(Object)` and `Function(Object, StackTrace)` as argument. Accepting...

area-library
library-async
type-enhancement
enhancement-breaking-change

An expression of type `void` cannot be used, unless it occurs in a situation which is specifically [allow-listed](https://github.com/dart-lang/language/blob/5c77a5dcac82029b9dec13984d9de14a42ca1c5b/specification/dartLangSpec.tex#L22478). The language test `$SDK/tests/language/void/void_type_usage_test.dart` is testing that these compile-time errors occur. This...

area-meta
status-blocked
implementation

```dart import 'dart:async'; void main() async { final c = Completer(); Future.error("a").whenComplete(() { c.complete(); return Future.error("b"); }).ignore(); await c.future; } ``` ```dart $ out/ReleaseX64/dart /tmp/test.dart Unhandled exception: b ```

area-library

The following test generates incorrect output with dart2js. ``` dart class Box { var value; } class Upper extends Object with Box { } class UpperAccessors extends Upper { get...

web-dart2js
P2
type-bug
area-web

There are new test failures on [Use the test file to check for navigation results....[analysis_server] Fix timeout in LSP-over-Legacy macro integration tests](https://github.com/dart-lang/sdk/compare/1e11807735052984c9838a7af72a95c8fb2f78aa~...5394052641e4b9c07713b5c1eea66dd2897c8bac). The tests ``` vm/dart/devirtualization_during_inlining_il_test Crash (expected Pass) ```...

area-vm
gardening
P4

There are new test failures on [[dart2wasm] Add dart2wasm-linux-optimized-jsc builder (to existing configuration with same name)](https://dart-review.googlesource.com/c/sdk/+/348601). The test results were baselined with D8 test results, so these should be the...

area-dart2wasm

Error handlers passed to both `Future.catchError` and `Future.then` and intentionally typed too wide, to allow passing both 1- and 2- argument handlers. This unfortunately could lead to run-time type errors...

area-analyzer
P2

Currently, calling a `NativeCallable.listener` from a `NativeFinalizer` callback hits an assert: ``` ../../runtime/vm/runtime_entry.cc: 4040: error: expected: current_thread->execution_state() == Thread::kThreadInNative ``` https://github.com/dart-lang/sdk/blob/1e0223e6d839255d18c8940a083482237f5f9318/runtime/vm/runtime_entry.cc#L4037-L4043 The assumption is that if we have a current...

area-vm
P2
library-ffi

Some or `close`/`release` functions have a different signature. If such signature requires extra parameters being passed in, such functions can be wrapped in a C function that takes a pointer...

area-vm
area-documentation
library-ffi

Reproduction: clone, `dart pub get`, `dart test -p chrome --compiler dart2wasm` - [x] pkg:crypto - almost all tests fail due to time outs - [x] Waiting for dev SDK to...

area-dart2wasm