sdk
                                
                                 sdk copied to clipboard
                                
                                    sdk copied to clipboard
                            
                            
                            
                        The Dart SDK, including the VM, dart2js, core libraries, and more.
### Repro steps: 1. `dart create repro` 2. `add `url_launcher:` under `dependencies:` 3. `dart pub get` => No warning. Should we be saying something like `Warning: Package url_launcher requires the...
Part of https://github.com/dart-lang/sdk/issues/49713. According to the spec `try .. on .. on (a, b) {}` should be parsed as `try` with 2 `on` clauses. However, front-end incorrectly parses it as...
Right now, the only way to supply stdin to a process is to use the static `Process.start()`, and then `add` to the returned Process's `stdin` stream. This is nice when...
Request to add a `toggle` method to `Set` which does the following work: ```dart Set set = {}; void toggle(T item) { if (set.contains(item)) { set.remove(item); } else { set.add(item);...
Working with [`Sink`](https://api.dart.dev/stable/2.18.1/dart-core/Sink-class.html) it would be nice to have utility factory constructors as follows: ```dart abstract class Sink { /// Create a [Sink] where data added invokes [accumulate]. /// ///...
``` ./tools/generate_idefiles.py python3 /Volumes/MyExternal/ExternalRefCode/dart-sdk/sdk/tools/gn.py -m all -a all -v Traceback (most recent call last): File "/Volumes/MyExternal/ExternalRefCode/dart-sdk/sdk/tools/gn.py", line 674, in sys.exit(Main(sys.argv)) File "/Volumes/MyExternal/ExternalRefCode/dart-sdk/sdk/tools/gn.py", line 664, in Main result = RunGnOnConfiguredConfigurations(args) File...
from iso-stress bot [log](https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8840959064476822304/+/u/Run_Isolate_Stress_Tests_shard_9/task_stdout_stderr:_Run_Isolate_Stress_Tests_shard_9) ``` Running "out/ReleaseTSANX64/dart --disable-dart-dev -Drepeat=4 -Dshard=6 -Dshards=200 --no-sound-null-safety --enable-isolate-groups runtime/tests/concurrency/generated_stress_test.dart.jit.dill" [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../vm/dart_2/deferred_loading_and_weak_serialization_references_test.dart] starting ... [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../vm/dart_2/deferred_loading_and_weak_serialization_references_test.dart] starting ... [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../vm/dart_2/deferred_loading_and_weak_serialization_references_test.dart] starting ... [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../vm/dart_2/deferred_loading_and_weak_serialization_references_test.dart] starting ... [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../../../tests/corelib_2/int_parse_with_limited_ints_test.dart] starting ... [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../../../tests/corelib_2/int_parse_with_limited_ints_test.dart]...
`vm-kernel-msvc-windows` bot started failing since https://github.com/dart-lang/sdk/compare/98055e5b86ba16e765c1ee0a5d7fd558eeb9f199~...4198020cce8e9a1055ee575c38cd9bf89f032ee3 ``` [2969/3145] ACTION //runtime/bin:generate_snapshot_bin(//build/toolchain/win:arm64) FAILED: gen/runtime/bin/vm_snapshot_data.bin gen/runtime/bin/vm_snapshot_instructions.bin gen/runtime/bin/isolate_snapshot_data.bin gen/runtime/bin/isolate_snapshot_instructions.bin C:/b/s/w/ir/cipd_bin_packages/cpython3/bin/python3.exe ../../build/gn_run_binary.py compiled_action x64/gen_snapshot.exe --sound-null-safety --deterministic --snapshot_kind=core --vm_snapshot_data=gen/runtime/bin/vm_snapshot_data.bin --vm_snapshot_instructions=gen/runtime/bin/vm_snapshot_instructions.bin --isolate_snapshot_data=gen/runtime/bin/isolate_snapshot_data.bin --isolate_snapshot_instructions=gen/runtime/bin/isolate_snapshot_instructions.bin C:/b/s/w/ir/cache/builder/sdk/out/DebugXARM64/vm_platform_strong_stripped.dill Command failed: C:\b\s\w\ir\cache\builder\sdk\out\DebugXARM64\x64\gen_snapshot.exe...
IA32 architecture is somewhat special in Dart VM: * AOT compilation is not supported on IA32. * Type testing stubs are not supported on IA32. * Due to a small...