sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
Repro: ```dart class One { One(this.numbers) : assert(numbers.map((e) => e).isNotEmpty, ''), //B5 (will explain below) assert(numbers.isNotEmpty, ''); //B6 (will explain below) List numbers; } class Two extends One { Two(super.numbers)...
Repro: ```dart void foo(void _) {} void bar({void value}) {} void main() { foo(0); bar(value: 0); } ``` When the value is required, we should replace it with `null`, and...
A `void` expression should be treated as not having a value. The language is permissive for backwards compatibility reasons, and allow you to assign `void` to `void` and `dynamic`, and...
It is currently marked as `flaky` on the following configurations on the [Current Results page](https://dart-current-results.web.app/#/filter=standalone/io/named_pipe_operations_test&showAll): ``` vm-appjit-linux-debug-x64 vm-appjit-linux-release-x64 vm-linux-debug-ia32 vm-linux-debug-simriscv32 vm-linux-debug-x64 vm-linux-debug-x64c vm-linux-release-ia32 vm-linux-release-x64 vm-appjit-linux-product-x64 vm-checked-mac-release-arm64 vm-eager-optimization-linux-release-x64 vm-linux-debug-simriscv64 vm-linux-release-arm64 vm-linux-release-simarm...
https://pub.dev/packages/dart_apitool can report leaked API symbols, and we use it in the Dart health checks. However, it would be much more user friendly if this would be a lint in...
If we land analyzer plugins well, we may choose to stop supporting our lowest-priority lint rules. Maybe lint rules that do not guard against errors or bloat, and are not...
### Background The Dart Tooling Daemon (DTD) is either started by DDS / DevTools server, in the case where an app is started from the CLI, or an IDE plugin...
For small Dart binaries with few dependencies, `dart run binary.dart` is sufficient. For larger binaries, where you can afford to run a resident compiler as you make changes: ```sh dart...
This lint would be similar to [public_member_api_docs](https://dart.dev/tools/linter-rules/public_member_api_docs), but only for members exported from the library. This lint would validate that everything generated by dartdoc has documentation. cc @srawlins