sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
As mentioned in the title and as shown in the example below: ```dart main() { final datetimeParsed = DateTime.parse('2021-02-05T22:37:12.933232+00:00'); final datetimeMS = DateTime.fromMicrosecondsSinceEpoch(1612564632933232); print(datetimeParsed.toIso8601String()); // prints 2021-02-05T22:37:12.933Z print(datetimeMS.toUtc().toIso8601String()); // prints...
**Repro** - debug the following dart code - set a breakpoint on `// Breakpoint here` line - step in once - hover over `super.key` Expected: `null` Actual: `ChromeProxyService: Failed to...
Flutter module currently contains 286 libraries, and we emit all of their summaries in `emitModule` for each expression compilation in expression compiler service (but not in the frontend server). Can...
I propose we stop reifying underlying element type for `Pointer` objects in preparation to unboxing pointer or migrating FFI to views. I am filing this issue for discussion. Currently `Pointer`...
Currently, users can write interop classes and call synthetic constructors and they will hit no checks. In the Wasm case, generative constructors are a pain point, so a synthetic constructor...
There are new test failures on [[ddc] Add non-null assertions when setting fields](https://dart-review.googlesource.com/c/sdk/+/258220). The tests ``` language/nnbd/null_assertions/parameter_checks_fields_and_setters_test RuntimeError (expected Pass) ``` are failing on configurations ``` dart2js-hostasserts-weak-linux-x64-d8 ``` I added...
While working on [352220](https://dart-review.googlesource.com/c/sdk/+/352220), I came a cross a case where an invalid `analysis_options.yaml` was produced from some tests (namely: [remove_break_test.dart](https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/test/src/services/correction/fix/remove_break_test.dart)). It seems that the `setUp` function is passing an...
Due to precedence rules, if you use `throw` on the right hand side of an `??` operator you need to wrap it in parentheses. Unfortunately, if you don't, the analyzer...
Currently, we cannot use extension types that implement `NativeType`s as type arguments in FFI. Given that extension types do not exist at runtime, I cannot find any reason why this...
## TLDR Amount of classes somehow trigger bugs in runtime jit optimizations, particularly [disabling of Inliner](https://github.com/2ZeroSix/sdk/commit/ce876c2ee664fd55252c6c7625b38772fb4f8b81) fixed the problem for both our internal codebase and generated example. might be related...