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

Not all instructions at the inlining phase result in the same number of bytes of code. Inlining heuristics should do a better job of predicting code size. In particlar, -...

area-vm
P3
type-performance
triaged

This is equivalent to #44023 , but for `dart fix` We just assumed it would return non zero when there are fixes to apply in our CI, and later realised...

type-enhancement
area-dart-cli

The Dart Analyzer treats the presence of an `analysis_options.yaml` file as a signal to create an analysis context, a discrete, hermetic environment for analysis. In many cases this is unneeded...

area-analyzer
type-performance
P2
analyzer-analysis-options

My analyzer keeps getting terminated. It used to do that sometimes but it usually restarts itself and everything's fine. However, today, some hours into the shift, it started getting terminated...

area-analyzer
P2
type-bug

This PR adds a new assist to add/update `hide` to imports when `ambiguous_import` is triggered. Related to https://github.com/dart-lang/sdk/issues/56830. --- - [x] I’ve reviewed the contributor guide and applied the relevant...

## Bug For some reason, this snippet of code works on **every platform** (including `dart2js`), but it just **breaks in DDC**: ```dart OpenSimplex2S(42); ``` The error thrown is: ``` Error:...

web-dart2js
area-web

### Change Intent ### Use case log is defined in math and developer packages and has a completely different purpose. not the best development experience. let's say you have: ```...

area-core-library
library-math
type-enhancement
P4

I originally reported this for Dart-Code but Dan asked for the issue to be raised here: https://github.com/Dart-Code/Dart-Code/issues/4550 The following code generates a warning: `cascade_invocations` `Unnecessary duplication of receiver.\nTry using a...

area-analyzer
P3
analyzer-quick-fix
type-enhancement

```dart class Point { int? x; int? y; Point({this.x, this.y}); @override toString() { return {"x": x.toString(), "y": y.toString()}.toString(); } // This throws a Stack Overflow void operator []=(Object key, Object...

area-analyzer
P3
type-enhancement

If you have the following code: ```dart import 'dart:core' show List show int hide String; // Notice the double `show` but no analyzer error void foo(List list, String str) {}...

area-analyzer
P3
type-enhancement