sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
I am going to call a raw untagged pointer _entangled_ with a tagged pointer if it is either: 1. derived from the tagged pointer (i.e. it is an inner pointer...
The Dart CI and CQ run tests for the packages in the Dart SDK source on builders like https://ci.chromium.org/ui/p/dart/builders/luci.dart.ci.sandbox/pkg-linux-release These builders run package tests written using package:test framework the same...
Hello 👋 Firstly, I understand our use case is probably not one the Dart team will directly support but `zapp.run` has been working for some time on lots of Dart...
## Change intent (edit: Updated 2024-01-24 to reflect use of the `hook/` toplevel directory.) A package toplevel `hook/` directory will be reserved for scripts run by the Dart and Flutter...
Currently Dart only supports limited duration formatting. The only way to get a formatted duration is through Duration.toString(): https://github.com/dart-lang/sdk/blob/bb7f3a7501e4e64fa149d9a42fae6625a88900a8/sdk/lib/core/duration.dart#L241 It'd be helpful to provide richer formatting options. For instance one...
Currently dart2wasm closures use this as hash code: ```dart class _Closure { ... int get hashCode => runtimeType.hashCode; ... } ``` This can be a big issue for any code...
New test language/macros/nesting/macro_impl_uses_macro1_test [added here](https://dart-review.googlesource.com/c/sdk/+/352522) has a macro implementation that relies an a macro application, currently it fails on the CFE. (cfe-strong-linux / cfe-weak-linux) Not sure what's going on here...
Currently, `HPhi` is just one of the many subclasses of `HInstruction`, but it would be nice to have a stronger separation between phis and non-phis. Our current type hierarchy is...
Currently the [`Random`](https://api.flutter.dev/flutter/dart-math/Random-class.html) class doesn't provide a way to get a randomly generated raw bytes. It is especially useful when generating a random string or in other cases where multiple...
## Extension Type feature ### Description Implementation issue for https://github.com/dart-lang/language/issues/2727, extension type; a special kind of type that wraps an existing type into a new static type, without the overhead...