sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
From [this log](https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8699877590308772817/+/u/test_results/ignored_flaky_test_failure_logs) ``` /=====================================================================\ | vm/dart/stream_timeline_to_test failed again (Crash, expected Pass) | \=====================================================================/ --- Command "vm_compile_to_kernel" (took 04.000149s): DART_CONFIGURATION=ReleaseTSANARM64 /Volumes/Work/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=xcodebuild/ReleaseTSANARM64/vm_platform.dill -o /Volumes/Work/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseTSANARM64/generated_compilations/vm-aot-tsan-mac-release-arm64/runtime_tests_vm_dart_stream_timeline_to_test/out.dill /Volumes/Work/s/w/ir/cache/builder/sdk/runtime/tests/vm/dart/stream_timeline_to_test.dart -Dtest_runner.configuration=vm-aot-tsan-mac-release-arm64 --packages=/Volumes/Work/s/w/ir/cache/builder/sdk/.dart_tool/package_config.json -Ddart.vm.product=false exit...
Example: ```dart import 'package:dart_internal/isolate_group.dart' show IsolateGroup; void main(List args) { int i = 0; void Function()? func1; func1 = () { ++i; }; void func2() { func1!(); }; IsolateGroup.runSync(func2); print(i);...
I was expecting that with: ```yaml analyzer: language: strict-inference: true ``` Since for the following we get `inference_failure_on_collection_literal`: ```dart void f() { var map = {}; } ``` We should...
I am implementing a pure TDS driver in Dart for Microsoft SQL Server, and I ran into a limitation in the current `SecureSocket` API that makes it very difficult (or...
Consider the following code: ```dart class Foo { @protected @Deprecated('Do not override this; override betterFoo() instead.') void foo() {} @protected void betterFoo() {} } class Bar extends Foo { @override...
```dart void main() { example(); } String example() { return throw StateError(''); } ``` I should have written `throw StateError('')`, oops. This would be nice to include under the `unnecessary_*`...
This issue tracks any work needed for the Angular compiler to support ["Private Named Parameters"](https://github.com/dart-lang/language/blob/main/accepted/future-releases/2509-private-named-parameters/feature-specification.md). TODO(rnystrom): I don't think there's anything needed here, but confirm before closing this. cc @leonsenft
This issue tracks the work needed to support ["Private Named Parameters"](https://github.com/dart-lang/language/blob/main/accepted/future-releases/2509-private-named-parameters/feature-specification.md) in web debugging. TODO(rnystrom): Fill in changes needed, if any. (This is likely just a no-op.) cc @bkonyi
This issue tracks all the analysis server work items for ["Private Named Parameters"](https://github.com/dart-lang/language/blob/main/accepted/future-releases/2509-private-named-parameters/feature-specification.md). TODO(rnystrom): Go through the list below and eliminate stuff that isn't relevant for this feature. TODO(rnystrom): Look...