sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
At least for me, the top-level completers in the pubspec don't work. eg. ``` name: foo dep # Completion doesn't give me anything here, I would expect "dependencies" ``` I'm...
This meta issue tracks all the analyzer implementation work items. Referenced from: https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/doc/process/new_language_feature.md ## Work Items - [ ] AST enhancements (`AstBuilder`) - For both locals and parameters, distinguish between...
This tracker is for issues related to: * Dart analyzer and linter ## Description As the language grows, we often introduce new lint rules to maintain and improve code quality....
There are new test failures on [[dart2wasm] Use unsafeCast in a few places...Reland "[vm] Move `ResolveUri` to bin"](https://github.com/dart-lang/sdk/compare/8f962bdff66bfe8fd7d6959e67ab39e096c37fa1~...d33c948e1ccc84012d4a3fca5a97c4f1b45de843). The tests ``` co19/LibTest/core/DateTime/millisecond_A01_t01 Crash (expected Pass) co19/LibTest/core/List/List.generate_A01_t02 Crash (expected Pass) co19/LibTest/core/Set/add_A01_t04...
`meta`: 1.12.0 Currently, the `@internal` annotation does not suppress the `public_member_api_docs` on functions. This is inconsistent with the behaviour of `@internal` on classes and mixins. 
const_finder/ast_from_binary is crashing during dill parsing while running flutter icon tree shaking
After updating to latest Flutter stable (3.22.1) our app is no longer building. Running on macOS 14.4.1. The failing step happens when the script executes the `const_finder` command during the...
The [testing](https://github.com/dart-lang/sdk/blob/4928998ebe7d45ca27846af1e8cd4fd45cd475e3/docs/Testing.md) docs mention the results database, but don't link to it or give any instructions for how to access it, understand current test status, etc. I cannot find any...
Possibly related: https://github.com/dart-lang/sdk/issues/32080. --- It would be nice to have an intrinsic for a list-literal or perhaps document `fromList` as inefficient. Here is a micro-benchmark I wrote: ```dart import 'dart:io'...
This ```dart import 'dart:typed_data'; import 'package:benchmark_harness/benchmark_harness.dart'; void main() { Foo().report(); if (int.parse('1') == 1) print(sink); } final XX = Uint8List.fromList([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]); final...
If library `main` imports a library `A`, and `A` exports a library `B`, and a macro is augmenting `main`, then it can resolve identifiers from `A` but not `B`. This...