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

If you have the following project: In `main.dart`: ```dart class A {} class C extends A {} ``` In `other.dart`: ```dart import 'main.dart'; void f(C c) {} ``` And you...

area-analyzer
analyzer-refactoring
P2
type-enhancement

I'm pretty surprised there is no such issue (or I just didn't find it). I want to propose adding a `Date` class to the Dart core SDK. * It should...

area-core-library
library-core
type-enhancement

The [Shared Memory Multithreading for Dart](https://github.com/dart-lang/language/blob/main/working/333%20-%20shared%20memory%20multithreading/proposal.md) proposal outlines a number of modifications to the Dart native runtime and core libraries which would unlock interoperability use cases which currently require developers...

area-vm
type-enhancement
triaged

**EDIT** - best solutions so far: * Use `package:collection` ```dart import 'package:collection/collection.dart'; void main() { var list = ['a', 'b', 'c']; var d = list.firstWhereOrNull((e) => e == 'd'); }...

area-core-library
library-core
type-enhancement

Some example output: ``` hot_reload_test(class_field_change_type): Executing VM test. hot_reload_test(class_field_change_type): FAILED with: Reloading: file:///var/folders/pp/5_07cs6d0mz5tsbbj1cx2vlh009rgp/T/ZDiIQ9/class_field_change_type/generation1/class_field_change_type.dill Reloading: file:///var/folders/pp/5_07cs6d0mz5tsbbj1cx2vlh009rgp/T/ZDiIQ9/class_field_change_type/generation2/class_field_change_type.dill Unhandled exception: reloadSources: (-32000) Service connection disposed #0 VmService._call (package:vm_service/src/vm_service.dart:1912:7) #1 VmService.reloadSources (package:vm_service/src/vm_service.dart:1553:7) #2 HotReloadHelper.reloadNextGeneration...

web-dev-compiler
area-web

Use AOT mode in the Dart SDK binaries (faster startup and more predictable performance) List of items to account for before this task is complete - [x] Switch frontend server...

area-vm
P2
triaged

The dart_style library API now accepts [experiment flags](https://pub.dev/documentation/dart_style/latest/dart_style/DartFormatter/experimentFlags.html). I added support for that when I made the formatter [not hardcode all known experiments](https://github.com/dart-lang/dart_style/issues/1245). It passes those flags onto the parser...

area-analyzer
analyzer-server
P2
type-enhancement

I want the Dart language server to provide a suggested fix for turning lambda expressions into function references, where possible. For example: * `() => f()` should be transformed into...

area-analyzer
P3
analyzer-linter
type-enhancement

The '`compile`' command in dart cli uses the production compiler `dart2js` to compile Dart files to JS when the '`js`' option is used. TO be consistent we need another option...

type-enhancement
area-dart-cli

This might be the same thing as https://github.com/dart-lang/sdk/issues/56828 bit I'd thought I'd create a separate issue anyway because I don't know. In the parser I'd like to rewrite a function...

area-vm
P3
type-performance
triaged