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

GTM Request - [b/467079096](http://b/467079096) Chat with the GTM team about any social media posts, X posts, YouTube shorts, or anything else that we may want for the feature. - [x]...

Example: ```dart import 'dart:ffi'; void main(List args) { late final List list; final callback = NativeCallable.isolateGroupBound(() { list.add('hey'); }); list = []; callback.nativeFunction.asFunction().call(); print(list); callback.close(); } ``` `late final` variables...

area-vm
P2
type-bug
triaged

Imo this should not expand to the whole raw definition, it should just be `List` (or at least be configurable in the lsp settings). This issue is related to #39332....

area-devexp

In a Flutter project, write down `log`. The latest stable (3.32.1), and the previous minor (3.29.3) versions show only two results on completion: - `dart:math` and - `dart:developer`. ![Image](https://github.com/user-attachments/assets/e055960a-02f4-4e05-9bd5-cc914e86b502) Now,...

P2
type-bug
area-devexp

Repro: ```dart enum MyEnum { v(() {}); // ^ const_with_non_constant_argument const MyEnum(Function f); } ``` Message: ``` Arguments of a constant creation must be constant expressions. Try making the argument...

area-devexp

```yaml environment: sdk: '3.10.0-162.1.beta' # Dart SDK version: 3.10.0-162.1.beta (beta) (Mon Sep 1 23:24:50 2025 -0700) on "macos_x64" dependencies: analysis_server_plugin: 0.2.2 ``` when using a visitor that performs async operations,...

P3
type-enhancement
devexp-plugin
area-devexp

Even though https://github.com/dart-lang/sdk/issues/60419 was closed there's still perf issues with record types in maps. ```dart void main() { final strings = [for (int i = 0; i < 1_000_000; ++i)...

area-vm
type-performance
P2
triaged

Repro: ```dart class A {} T? f(A a) => a.method(); T? g(A a) => a.getter; void h(A a, T? o) => a.setter = o; T? Function() i(A a) => a.methodTearoff;...

P3
devexp-quick-fix
type-bug
area-devexp

Repro: ```dart // other.dart class A {} void f(A a) { switch (a) { case A(value:int other): break; } } // import.dart import 'other.dart'; extension Ext on A { int?...

P3
devexp-quick-fix
type-enhancement
area-devexp

Dart SDK version: 3.10.3 The following code snippet produces a false positive: ```dart class A { int get _value => 0; set _value(int v) { print('A'); } } extension E...

area-devexp