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

The following snippet throws an error instead of returning an error object: ```c++ Dart_Handle DartRuntimeHooks::GetCallbackFromHandle(int64_t handle) { Dart_Handle result = DartCallbackCache::GetCallback(handle); if (Dart_IsError(result)) { Dart_PropagateError(result); } return result; } ```...

area-vm
library-ffi

**Goal**: We'd like to track progress on removing core library APIs that have earlier been deprecated. This will help us track progress towards our next Dart major version. **Frequency**: we'd...

area-meta

There are new test failures on [[vm] Record field access operations...[dart2wasm] Trivial test for subtype of Object](https://github.com/dart-lang/sdk/compare/82f163fa4f6ddcf922b3e9fed038968b92d8c0f6~...e36a39437c9f3370528f578942aa22e732faad25). The tests ``` vm/dart_2/isolates/thread_pool_test Crash (expected Pass) ``` are failing on configurations ```...

area-vm
gardening

In particular this comes up a lot with [bad casts](https://screenshot.googleplex.com/4reca8QSAWTgRLs) as well as types added to the left hand side where they are unnecessary. It is very common for the...

area-migration
nnbd-migration-web-ui

Hi, received a very strange report https://github.com/dart-code-checker/dart-code-metrics/issues/976 that having a plugins entry filled in the analysis_options (thus enabling the plugin), actually prevents dart analyze to run when there is no...

area-analyzer
P2
analyzer-plugin

The analyzer reports an error on the following two cases. ```dart /// Subtracts 2 integers. @ffi.FfiNative('subtract') external int subtract( ffi.Pointer a, int b, ); /// Divides 2 floats, returns a...

area-analyzer
P3
library-ffi

For example, `SomeRenderObject.semanticBounds` may get deduplicated to `RenderClipOval._defaultBounds`, because the impelmentations are both `Offset.zero & size`, leading to a stack trace that looks like this: ``` at RenderBox.size(box.dart:2023) at RenderClipOval._defaultClip(proxy_box.dart:1731)...

area-vm
customer-flutter

See also #39780 (this test flakes on DDC Firefox) and #47725 (other async tests flake on dart2js Windows Chrome).

library-async
area-test
os-windows
browser-chrome
area-web
web-infrastructure

Original [issue](https://github.com/flutter/flutter/issues/111177) ```dart import 'dart:async'; import 'package:flutter_test/flutter_test.dart'; void main() { test('test case', () async { await expectLater( // create stream that emit Completer, and wait it ((() async* { try...

area-vm

Part of https://github.com/dart-lang/sdk/issues/49713. It looks like CFE doesn't guard against visiting the same record when traversing deeply nested constant records. Constants form a DAG, and the same constant can be...

area-front-end