sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
Consider the following program: ```dart abstract class C {} class D1 extends C {} X f(X x1, X x2) => x1; void main() => print(f(D1(), D1())); ``` This program is...
If I run: ``` dart --version test -r expanded -j 1 --coverage ./coverage/ test/list_test.dart test/user_test.dart ``` I get a Dart VM crash. It only happens, if I enable coverage. Without...
I updated my (quite old) Flutter app to point at a different backend URL. When autodeploy was attempted on Netlify (the host), I got a compiler crash (output below): >...
When a `try` block with a `finally` block is exited via a `break` or `continue` statement, the code in the `finally` block runs. This mechanism is currently not implemented in...
I noticed a `Set` performing very slowly when working on a Flutter project. I had about 20k integers in a Set, and checking `set.contains()` took a very long time. But...
On looking at #50011, whether to find a fix or not, seems to be dependent on the match between the package name and folder name. Steps: 1. Create a new...
For example, on running a data driven [test](https://github.com/dart-lang/sdk/blob/fba97eb77f1218025e73134a9cbfe94f49dcb98d/pkg/analysis_server/test/src/services/correction/fix/data_driven/replaced_by_test.dart#L868), while writing the path of files created in https://github.com/dart-lang/sdk/blob/fba97eb77f1218025e73134a9cbfe94f49dcb98d/pkg/analysis_server/test/abstract_single_unit.dart#L56 The output is: ``` path /home/test/.dart_tool/package_config.json path C:\home\test\analysis_options.yaml path /home/p/lib/lib.dart path /home/test/.dart_tool/package_config.json path...
I'm debugging my app on web via VS Code and I not properly formatted stacktraces: Example of assertion ```dart ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════ The following assertion was thrown...
This is a follow up for https://github.com/dart-lang/sdk/issues/21403. Unix domain sockets is supported on Windows. https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ Add support for Windows platform.
Working on https://github.com/flutter/flutter/pull/111711, I was trying to write a fix for it, but no transforms are being applied. The original fix modified some parameters, but I found just simply trying...