sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
The code below produce no expected error in the analyzer. ```dart enum E1 { e0; } augment enum E1 {} // ^^ // [analyzer] unspecified // [cfe] unspecified ``` But...
The following are now core or recommended lints and should be prioritized for diagnostic style documentation: - [ ] [`library_annotations`](https://dart.dev/lints/library_annotations) - [ ] [`unnecessary_library_name`](https://dart.dev/lints/unnecessary_library_name) - [ ] [`unintended_html_in_doc_comment`](https://dart.dev/lints/unintended_html_in_doc_comment) - [...
Today if you try to call "Move Top Level to File" on files with `part`s or `part` files there is no prompt. I suspect that it has some limitations to...
Since last year, we have been [rewriting the Dart formatter](https://github.com/dart-lang/dart_style/issues/1253) (the `dart format` command and [dart_style package](https://github.com/dart-lang/dart_style) where its implementation lives) to apply a style that works better for the...
As I am currently working on an OpenAPI code generator I was looking for a way to create a barebones dart project without any boilerplate. Therefore I propose to add...
`DateTime.parse()` tries to automatically determine whether a date string is in UTC or local time. However, many API's don't specify timezones at all and let the client handle this. The...
After running flutter upgrade on Windows: ``` Flutter 1.22.0-10.0.pre.179 • channel master • [email protected]:flutter/flutter.git Framework • revision e55b7ca0a3 (7 minutes ago) • 2020-09-15 19:10:33 +0200 Engine • revision c6121c5d51 Tools...
The current implementation of `Future.toJS` ([here](https://github.com/dart-lang/sdk/blob/4a80b6d88bd87bcbbc8e84942f12a2ea3a71bdd4/sdk/lib/js_interop/js_interop.dart#L734), [here](https://github.com/dart-lang/sdk/blob/4a80b6d88bd87bcbbc8e84942f12a2ea3a71bdd4/sdk/lib/js_interop/js_interop.dart#L767)) handles errors coming from the Dart future by rejecting a JS Promise. This is great so JS code knows that something failed within...
The Observatory developer tooling was developed during the early days of the Dart project to allow for developers to debug, dive into CPU and memory performance characteristics, and inspect program...
The tests ``` pkg/dds/test/dap/integration/debug_exceptions_test RuntimeError (expected Pass) ``` are failing on configurations ``` unittest-asserts-release-win-arm64 ``` https://dart-ci.appspot.com/log/pkg-win-release-arm64/unittest-asserts-release-win-arm64/1503/pkg/dds/test/dap/integration/debug_exceptions_test https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-win-release-arm64/1503/overview I see two errors in the logs. The first is a `SocketException`: ```...