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

Reproduce steps: Save the code as `test.dart`: ```dart import "dart:developer"; // Uncomment to get correct behavior // import "dart:math" as math; // @pragma("vm:entry-point") // final l = math.log; void main()...

area-vm
P3
type-bug
crash
triaged
triage-automation

### Steps to reproduce On Windows directories that require admin privilege to be accessed are listed with `Directory.list()` but `Directory.existsSync` returns false on them I first encountered this on my...

area-vm
type-bug
triaged
triage-automation

from https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-aot-win-release-x64/1298/overview https://dart-ci.appspot.com/log/vm-aot-win-release-x64/vm-aot-win-release-x64/1298/ffi/callback_unwind_error_test ``` --- Command "vm_compile_to_kernel" (took 03.000783s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & set DART_CRASHPAD_HANDLER=C:\b\s\w\ir\out\ReleaseX64\crashpad_handler.exe & C:\b\s\w\ir\pkg\vm\tool\gen_kernel.bat --aot --platform=out/ReleaseX64/vm_platform_strong.dill -o C:\b\s\w\ir\out\ReleaseX64\generated_compilations\vm-aot-win-release-x64\tests_ffi_callback_unwind_error_test\out.dill C:\b\s\w\ir\tests\ffi\callback_unwind_error_test.dart -Dtest_runner.configuration=vm-aot-win-release-x64 --packages=C:\b\s\w\ir\.dart_tool\package_config.json -Ddart.vm.product=false --sound-null-safety exit code:...

area-vm
gardening

Consider this Dart program: ```dart import 'dart:ffi'; void main() { final function = NativeCallable.isolateLocal(() {}) ..keepIsolateAlive = false; final asDart = function.nativeFunction.asFunction(); asDart(); } ``` Running `dart run that_program.dart` completes...

area-vm
type-bug
cherry-pick-candidate
triaged
triage-automation

Example failure https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-reload-linux-release-x64/462/overview ``` --- Command "vm" (took 04:00.000480s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --hot-reload-test-mode --sound-null-safety -Dtest_runner.configuration=vm-reload-linux-release-x64 --ignore-unrecognized-flags --packages=/b/s/w/ir/.dart_tool/package_config.json /b/s/w/ir/runtime/tests/vm/dart/isolates/shared_test.dart exit code: 1 diagnostics: Process list including children: [51982, 52062] Trying to capture...

area-vm
P2
gardening
triaged

# Intended Change The type schema for type inference of the operand of a `throw` expression will be changed from `_` (the unknown type) to non-nullable `Object`. # Rationale The...

area-language
type-enhancement
breaking-change-request
triage-automation

I'm trying to do an automated migration from one (now deprecated) API to another, and is stuck on thing I cannot express within the current features. One legacy class named...

area-analyzer
P2
type-enhancement
analyzer-data-driven-fixes

These are functions and types that we have in dart:ui (Flutter's core library) that really should just be in dart:core: - [ ] lerpDouble, which should really just be a...

area-core-library
type-enhancement
core-2

## Wildcard Variables This issue tracks the implementation of the wildcard variables feature. ### References * [Original issue](https://github.com/dart-lang/language/issues/3712) * [Feature specification](https://github.com/dart-lang/language/blob/main/working/wildcards/feature-specification.md) * [Project](https://github.com/orgs/dart-lang/projects/88) * Test tracking sheet (TBD) ### Work...

area-meta
implementation
feature-wildcard-variables

After https://github.com/dart-lang/sdk/commit/8e00ebc689354ee99d6a7fda844ade8f3701f140 the following code started failing: https://github.com/dart-lang/sdk/blob/a8314dac745ceabc926f9d9bedb9e8692d690298/pkg/dartdev/lib/src/commands/build.dart#L70 `sdk.dart` was recently changed: from `Platform.resolvedExecutable` to `Platform.executable`. Why was it changed @bkonyi? The error only shows up when downloading a dev...

type-bug
area-dart-cli
dart-cli-bug