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

``` $ cat t.dart main() { print([ 1, 2, 3, ]); } $ ./fasta compile t.dart t.dart:2:33: Warning: Too many type arguments on List literal. print([ ^ ``` The location...

P3
front-end-fasta
legacy-area-front-end
front-end-cleanup
improve-diagnostics

Steps: 1. Create new Dart project 2. Add `very_good_analysis` to dependencies (can be dev) 3. Swap the content of the `analysis_option.yaml` with: ```yaml include: package:very_good_analysis/analysis_options.7.0.0.yaml linter: rules: prefer_relative_imports: true ```...

devexp-warning
P2
analyzer-analysis-options
area-devexp

The analysis server defines [constants representing fix kinds](https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/lib/src/services/correction/fix.dart). Those constants have a priority associated with them, represented as an integer. There are also [constants representing those priorities](https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server_plugin/lib/edit/dart/dart_fix_kind_priority.dart), but those are...

type-code-health
area-devexp

Take this code: ```dart final int int = 7; void main() { final num num = 7; } ``` This results in a strange error: ``` error • int isn't...

legacy-area-front-end
improve-diagnostics

```dart void foo({int i}, {String j}) {} void bar({int i}, [String j]) {} ``` If to run the code above in analyzer 1.19.1, then output is ``` [error] Cannot have...

front-end-fasta
legacy-area-front-end
improve-diagnostics
model-error-recovery

### **Description:** After upgrading to **Flutter 3.32.1**, hot reload stopped working in one of my web apps when launched using a custom configuration. I’ve tested with both **Android Studio** and...

web-dev-compiler
area-web-js
web-hot-reload

This issues relates to the `dart fix` CLI command. Dart fix supports supplying specific issue codes, to restrict the issues that the tool fixes and applies. This works for dart...

type-bug
area-devexp

The following flaky crash happened on `vm-aot-win-debug-arm64`: ``` /===========================================================================\ | service/dev_fs_http_put_test/service broke (Pass -> Crash, expected Pass) | \===========================================================================/ --- Command "vm_compile_to_kernel" (took 05.000785s): set DART_CONFIGURATION=DebugARM64 & set DART_SUPPRESS_WER=1 &...

area-vm
gardening
triaged

Right now one can only kill a single process using dart:io. Either through Process.kill on a Process instance or by using the static Process.killPID. In some situations killing a process...

area-vm
library-io
type-enhancement

Repro: ```dart // Items sealed class Foo { const Foo(); } final class Bar extends Foo { const Bar(); } final class Baz extends Foo { const Baz(); } //...

area-language
type-question