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

An `InvalidType` should simultaneously be both nullable and non-nullable. The following produces two diagnostics: ```dart void f(String s) { if (s.len case var len?) { print(len); } } ``` The...

area-analyzer
P3
analyzer-ux
type-enhancement

The following code is allowed on dart2js and the VM, but fails on DDC and dart2wasm: ```dart class C { late final int? _finalWithInitializer = 0; late final int? _finalWithoutInitializer;...

area-web
area-dart2wasm

The `name` getter is a hotspot and shouldn't resolve `String` canonicalization for each call. --- - [✅] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

I have a file (an ABI file) with a list of `Map` I load the file in a List? abi; I would like to convert `toJS` all elements in the...

web-js-interop
type-question
area-web

Imagine we have a library as follows: ```dart /// Long and extensive documentation about this library library foo; // Good stuff in this library. ``` I would now like to...

area-analyzer
analyzer-server
P2
type-enhancement

Something like this should work: ```dart /// @docImport 'dart:io' as io; library; /// You can use [io.Stdin] to... void foo() { // intentionally left blank } ```

area-analyzer
analyzer-server
P2
type-enhancement

Hello Dart team! Currently, the easiest way to obtain the compiled architecture of an app is to call to `Abi.current().toString()` and then parse the `String`, e.g. ```dart final abi =...

area-vm
type-enhancement
library-ffi
triaged

Hello After updating to Flutter 3.24.0, which uses Dart 3.5, I now get the error “Legacy nullability is not supported. The error is also present with Flutter 3.25.0-1.0.pre.84 and Dart...

type-bug
area-front-end
cfe-dysfunctionalities

The [`JsonCodable`](https://dart.dev/language/macros#the-jsoncodable-macro) macro is a colossal step in the right direction, however it lacks an important feature which should be considered. Often, when working with serialized data (in particular, data...

area-pkg
feature-macros
pkg-json

To make dynamic linking between native assets possible (a dll opening another dll at runtime because they have been linked at build) on Windows, we need to specify where the...

os-windows
P2
area-native-interop