sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
See repro here https://github.com/dart-lang/build/issues/3798#issuecomment-2943681937 the analyzer understands the `.dart_tool/build/generated` output folder used by `build_runner`, which lets you build+compile for web with `build_runner`, and the analyzer behind the IDE also understands...
Repro: ```dart class A { A(this.value); A.named({this.value}); final int? value; } // Reason for the constructors to all have the same parameters would be consistency and tear-off possibility class B...
Consider ```dart import 'dart:typed_data'; String foo() => "Lily was here"; main() { var f = foo; var x = f.call; (print)("Lily was here" == x()); //(print)(Uint8List(0)); } ``` Running: `dart...
From my understanding, there are two main ways in which API users browse documentation: * Viewing the generated Dart docs, such as the one on [api.flutter.dev](https://api.flutter.dev). * Hovering over a...
From dart-fuzz bot: ``` Isolate (/b/s/w/itmmn67oze/dart_fuzzHJDDRD) NO-FP NO-FFI FLAT : JIT-DebugSIMARM64 - AOT-ReleaseX64C: !DIVERGENCE! 1.101:856712591 (-6 vs 0) fail1: -6 ../../runtime/vm/profiler.cc: 1105: error: expected: fp_ != nullptr ===== CRASH =====...
When reporting an issue, please include: - Dart 3.8.1 - Linux ## Why is this needed? At present TLS certificates issued by popular public Certificate Authorities (CAs) such as LetsEncrypt...
The failures in runtime/vm/kernel_binary.cc are predefined strings. For example: https://github.com/dart-lang/sdk/blob/ad9a13a1c1ad7c8ae64d4ea79de73201509c765d/runtime/vm/kernel_binary.cc#L146 However, this makes the error messages somewhat uninformative in the case where the user of the `dart_api.h` does not know...
This issue tracks all the analysis server work items for the dot shorthands feature. Referenced from: https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/process/new_language_feature.md ## Estimated work - [x] Call Hierarchy (an IDE feature where you can...
Hi, my team noticed what seems to be a dart2js compiler bug involving internal dart2js variables shadowing each other. The error we're getting looks like this: ``` Uncaught Error: NoSuchMethodError:...
See https://github.com/eseidel/workspaces_mirrors for repro. The analyzer seems to get into a "mirrors OK" or "mirrors not OK" mode and with workspaces the latter wins out if Flutter is included, thus...