sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
When the DevTools server is started from an IDE, the IDE starts DTD and then passes the dtd uri to DevTools server. However, when the DevTools server is started from...
I know that new js-interop is a current priority which may put libraries like js_util on the back burner, but from my reading this seems like an easy win. `isJavaScriptArray`...
This is a meta issue to track any individual work towards support for hot reload in DDC. The table below is just an approximation. It is meant to be updated...
Particularly for the end to end tests, there is no way to use the source version of subprocesses like `analysis_server` during testing. This increases friction for making changes involving both...
Getting a bunch of the lines bellow on Flutter web during Hot reload: ``` 6586/dart-sdk/lib/_internal/js_shared/lib/js_interop_patch.dart 89:7 JSBoxedDartObjectToObject.get$35toDart http://localhost:56586/lib/_engine/engine/canvaskit/native_memory.dart 24:46 http://localhost:56586/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 574:37 _checkAndCall http://localhost:56586/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 579:39 dcall Error: Expected a wrapped Dart...
@DanTup pointed out that we should add an obfuscation string to DTD's uri to help obsure open access through localhost.
How do I catch the exception thrown in the code below? ```dart import 'dart:io'; void main() async { try { final Process process = await Process.start('echo', []); process.stdin.add([1,2,3]); // throws...
We've had a number of bugs in the past caused by drive letters sometimes being uppercase and sometimes being lowercase (and code that treats all paths case-sensitively). The casing of...
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 analyzer. It's possible the fault is not in the analyzer,...
What if we changed `print` to work like [`Object.hash`](https://github.com/dart-lang/sdk/blob/1278bd5adb6a857580f137e47bc521976222f7b9/sdk/lib/core/object.dart#L182)? Instead of ```dart /// Prints a string representation of the object to the console. void print(Object? object) { String line =...