sdk icon indicating copy to clipboard operation
sdk copied to clipboard

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

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

### Steps to reproduce Small repro: ```dart Future foo() async { return null; } Future bar() async { var str = await foo(); return str.length; } ``` #### What did...

P2
NNBD
area-migration

This is a little strange and doesn't reproduce consistently, but I'll try to provide as much details as I have. In IntelliJ I have a workspace that has a bunch...

area-analyzer
analyzer-stability
P2
type-bug

First noticed here as it turned the pkg-linux-debug bot red: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8807002776779726001/+/u/test_results/stdout.

web-dev-compiler
area-web
dev-compiler-eval

The [`fix_data.yaml` file in flutter/flutter](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/fix_data.yaml) is growing, it is (at time of writing) about 4000 lines long. I am looking into writing rules to migrate to the [new button universe](https://docs.flutter.dev/release/breaking-changes/buttons),...

area-analyzer
P3
type-enhancement
analyzer-dartfix
analyzer-data-driven-fixes

Bad state: Unrelated types: class Object and abstract class FutureOr in (readData ?? (req, res) {if (req.bodyAsObject is! Data) {throw GalileoHttpException.badRequest(message: 'Invalid request body. Expected $Data; found ${req.bodyAsObject} instead.');} else...

area-migration

``` $ dart/migrate ... Building tool...done. ... Analyzing project... [----------------------------------------------------------------------------------------------------------------------------------------|]Warning: package has unmigrated dependencies. Continuing due to the presence of `--skip-import-check`. To see a complete list of the unmigrated dependencies,...

area-migration

When hot reloading I get this error: ``` lib/main.dart:18:27: Error: The argument type 'void Function(USBDevice)' can't be assigned to the parameter type 'void Function(JavaScriptObject)'. - 'USBDevice' is from 'package:js_demonstration/other.dart' ('lib/other.dart')....

web-js-interop
web-dev-compiler
area-web

| A | C | |---|---| | ![image](https://user-images.githubusercontent.com/15884415/182774067-59930930-3598-4cd4-9232-6bf860e4399d.png) | ![image](https://user-images.githubusercontent.com/15884415/182774136-f2b65c05-fbec-4567-9f74-efd883aea142.png) | ``` [√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [版本 10.0.22000.795], locale zh-CN) • Flutter version 3.0.5 at X:\SDK\flutter...

P1
area-analyzer
type-bug
analyzer-editing-experience

The goal is to get more actionable information from users that are experiencing problems with performance.

area-analyzer
type-documentation
P2

An internal customer ran into a situation like this: Original code (pre-null-safety): ```dart f(Map m, String k) { var s = ''; if (m.containsKey(k)) { s = m[k]; ... }...

area-migration