sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
There are new test failures on [[cfe] Move assignability checking for for-element conditions earlier.](https://github.com/dart-lang/sdk/commit/a7158eba814c932be0196efedfd7b5bcf7433ab5). The tests ``` corelib/regexp/named_captures_test RuntimeError (expected Pass) ``` are failing on configurations ``` dart2wasm-linux-optimized-jsc ``` Although...
`dart --version` Dart SDK version: 3.6.0-edge.0ccb9e06adb79f25a396bd902fee149a289db35d (main) (Wed Sep 11 11:14:20 2024 +0000) on "linux_x64" Microbenchmark: ```dart import 'dart:ffi'; import 'package:ffi/ffi.dart'; final class RGBA extends Struct { @Uint8() external int...
This issue is to track https://dart-review.googlesource.com/c/sdk/+/386020 and https://github.com/dart-lang/sdk/pull/56762. This change would add a new quick-fix option to `ambiguous_import` to add a `hide` combinator (or edit the current one to edit...
**Is your feature request related to a problem? Please describe.** In my company, we have some packages for internal use and in the past there have been times when a...
TL;DR: To ensure that typed data has _reliable performance_ on the JavaScript platforms we need to get rid of the `UnmodifiableUint8ListView` and similar classes. ## What? - Deprecate `UnmodifiableUint8ListView` and...
To ease the maintenance of the dart-lang/ repositories, we are currently moving some of them into monorepos. Our thematically grouped monorepos are: - [build](https://github.com/dart-lang/build/) - [test](https://github.com/dart-lang/test/) - [native](https://github.com/dart-lang/native/) - [http](https://github.com/dart-lang/http/)...
This issue tracks all the analysis server work items for enhanced-parts. (Referenced from: https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/process/new_language_feature.md) - [x] Call Hierarchy (an IDE feature where you can get a call hierarchy if you...
In both `foo1` and `foo2` generate code that crashes: ``` ===== CRASH ===== si_signo=Segmentation fault(11), si_code=SEGV_MAPERR(1), si_addr=0x7f68355141e0 Aborted ``` ```dart @pragma('vm:unsafe:no-bounds-checks') @pragma('vm:never-inline') int foo1(String s) { int sum = 0;...
The `ddc_stable_test` and `ddc_canary_test` are build target groups that include the `create_sdk`. https://github.com/dart-lang/sdk/blob/16f3ad90789ce097fd1fef1159c63353bca1535a/utils/ddc/BUILD.gn#L78-L94 That builds many more targets than we actually need to run tests with ddc. `create_sdk` should be...
See `Stream.isEmpty`: https://github.com/dart-lang/sdk/blob/c5c7fc8486646c5d20d0cfe7991959044b7e27f1/sdk/lib/async/stream.dart#L1317-L1319 Non-broadcast stream created by `Stream.fromIterable()` can be listened more than once, so it can be listened after call of `isEmpty`. See `Stream.elementAt()`: https://github.com/dart-lang/sdk/blob/c5c7fc8486646c5d20d0cfe7991959044b7e27f1/sdk/lib/async/stream.dart#L1565-L1567 The same. It's not...