sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
I have a method with this signature: ```dart static Future registerVisit( llib.VisitData data, { required bool reconnectionMode, }) ``` When calling it, this is working: ```dart final decodedData = jsonDecode(message.encodedData);...
AFAICT, @brianquinlan _correctly_ followed the breaking changes approval process here: - https://github.com/dart-lang/sdk/issues/53863 - https://groups.google.com/a/dartlang.org/g/announce/c/ScSc1iQgyXY ... however that ended up with a [build breakage for Flutter](https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8755904790169566673/+/u/analyze_flutter_packages/stdout) due to at least one...
I have this code ```dart import "dart:io"; void main() { try { stdout.writeln("Line #1"); stdout.writeln("Line #2"); stdout.writeln("Line #3"); stdout.writeln("Line #4"); stdout.writeln("Line #5"); } catch(e) { stderr.writeln("Error: $e"); } } ```...
Starting at Dart 3.x+, we have [class modifiers](https://dart.dev/language/class-modifiers), yay! I'd like a way to mark an _intent to adopt_ a modifier in a future release, so that: 1. The analyzer...
There are new test failures on [[cfe] Add test for issue 53539...[cfe] Add test for issue 52542](https://github.com/dart-lang/sdk/compare/e15806ae42f5542236997b5447d9836519ac04d0~...1807debf84f9cc5f6381cc0a5a1d82b4e5ce281f). The tests ``` standalone/dwarf_stack_trace_invisible_functions_test RuntimeError (expected Pass) ``` are failing on configurations ```...
The tests ``` pkg/vm/test/transformations/ffi_test Timeout (expected Pass) ``` are failing on configurations ``` unittest-asserts-debug-linux-x64 ```
When this flag is passed, the file system API should work without checking for project directories, and DTD should operate with the assumption that it does not need to generate...
There are new test failures on [[io] Make it possible to change the line ending output by `stdout` and `stderr`....[pkg:js] Update README and prep for 0.7.1 publish](https://github.com/dart-lang/sdk/compare/fe67789e43641785ecb957190c81be1f224ec929~...770f44d4e9ffe2abf4c27bc0969c6708c54a9b65). The tests ```...
With the following piece of code: ```dart void main() { int aValueAnother = 5; int bValueAnother = 5; for (var (int aValue, :bValue) in test()) { } } List test()...
See https://github.com/dart-lang/sdk/issues/54947. There are certain patterns that need to be followed to work around tricky breaking changes. Consider the following: ```dart class Cow { void moo() {} } ``` Later,...