sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
At least as of c7f99144977aa10767eed8564808d402ce4540d1 the parser has the following code: ```dart bool isOneOfOrEof(Token token, Iterable values) { for (String tokenValue in values) { if (optional(tokenValue, token)) { return true;...
e.g. From [this flaky log](https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8735035501367079393/+/u/test_results/ignored_flaky_test_failure_logs): ``` /=====================================================================================\ | corelib/regexp/ranges-and-escaped-hyphens_test broke (Pass -> Crash, expected Pass) | \=====================================================================================/ --- Command "vm" (took 06.000987s): DART_CONFIGURATION=ReleaseTSANX64 out/ReleaseTSANX64/dart --sound-null-safety -Dtest_runner.configuration=vm-tsan-linux-release-x64 --ignore-unrecognized-flags --packages=/b/s/w/ir/.dart_tool/package_config.json /b/s/w/ir/tests/corelib/regexp/ranges-and-escaped-hyphens_test.dart exit...
The tests ``` pkg/dds/test/dap/integration/debug_attach_test RuntimeError (expected Pass) ``` are failing on configurations ``` unittest-asserts-release-win-arm64 ``` ``` 00:01 [32m+0[0m[31m -1[0m: debug mode can attach to a simple script using vmServiceUri [1m[31m[E][0m[0m...
Now (see SDK versions below) we have the following (the results are the same for Linux and Windows): ```dart import 'some_lib.dart' as l1; // Ok import 'some_lib.dart#' as l2; //...
## Problem Cannot launch the project with the following macro: Macro ```dart import 'dart:async'; import 'package:macros/macros.dart'; macro class ExampleMacro implements MethodDeclarationsMacro, MethodDefinitionMacro { const ExampleMacro(); @override FutureOr buildDeclarationsForMethod(MethodDeclaration method, MemberDeclarationBuilder...
## Problem Cannot launch project with macro with `Map` param. Macro ```dart import 'dart:async'; import 'package:macros/macros.dart'; macro class MapEntryExample implements ClassDeclarationsMacro { final Map map; const MapEntryExample(this.map); @override FutureOr buildDeclarationsForClass(...
I _love_ the functionality in `dart run --resident`, it replaces so much hand-rolled scripts and logic for trying to build and invalidate a snapshot. There is one downside - it...
## Current situation Dart's file IO capabilities are fragmented across different platforms and mechanisms. The `dart:io` library provides comprehensive file handling for native platforms but all methods throw in web...
# Experience i'm working on a cross-platform commandline app, testing with a simple stdin echo program in dart 2.16 (see below), and am noticing missing key codes when running in...
As we introduce diagnostic style documentation for lint rules in `pkg/linter/messages.yaml`, we should collocate other relevant linter rule and lint code information in the same `messages.yaml` file. While doing so,...