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

https://gist.github.com/tvolkert/0967e7676686e96c54a921e26f1161b3 The example shows that you can't write data to an `IOSink` while a `flush` is in progress. Doing so results in a `StateError` ("StreamSink is bound to a stream")....

area-library
library-io
type-documentation

Hello dart team, the team I am working with and myself are looking for a way to set a very specific TLS Cipher Suit to the Dart `HTTPClient` and `SecurityContext`....

area-library
library-io
needs-info
type-enhancement

A security exception is thrown when trying to access the contentWindow property of a cross domain iframe using static interop: ```dart frame.contentWindow!.postMessage(...) ``` Given the same setup using non static...

web-dev-compiler
area-web

Trying to access the [`contentWindow`](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/contentWindow) of a sandboxed iframe results in an error similar to the following: ``` DOMException: Failed to read a named property 'toString' from 'Window': Blocked a...

web-dart2js
web-js-interop
area-web

The analyzer shows no errors for the following code: ```dart void main() { bar(null); } void bar(Foo? foo) { print(foo.i); } extension type Foo(int i) {} ``` However when running...

area-analyzer
P2
feature-extension-types

## Setup Take into consderation the following library code: ```dart sealed class SealedType {} class A extends SealedType {} class B extends SealedType {} String runSwitch(SealedType type) { return switch...

area-vm
triage-automation

* Dart version and tooling diagnostic info (`dart info`) ``` txt If providing this information as part of reporting a bug, please review the information below to ensure it only...

area-analyzer
P2

The tests ``` pkg/dartdev/test/commands/create_integration_test RuntimeError (expected Pass) ``` are failing on configurations ``` unittest-asserts-release-linux-x64 unittest-asserts-release-mac-x64 unittest-asserts-release-linux-arm64 ``` These were triggered from unrelated changes. The first two configurations on [skip computing...

area-dart-cli

```dart Object foo(Object o) => o; const c = foo(1); ``` Analyzer produces error `Methods can't be invoked in constant expressions.`, CFE `Method invocation is not a constant expression.`. Why...

area-analyzer
P3
analyzer-ux
area-front-end
cfe-messages

TL;DR: Replacing records with classes in a few maps reduces runtime with ~28% and makes `SlowTypeTest` go from taking ~22% of the time to basically taking nothing. This is only...

area-vm
P3
type-performance