sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
At least for a few releases, the memory usage output of dart2js has been broken on my machine (macOS), always outputting `0.000 MB`, no matter if ran through `dart compile...
This issue tracks any work required for wildcard variables in the VM debugger. ### References > Correct - I think the nuance here is that in the code we emit...
With a connection to DTD you can call method `foo` on service `bar` but you can't in advance tell if that service/method are available. You also can't tell if that...
**Describe the issue** When using the quick-fix for `unnecessary_cast` in a switch expression the removed type cast is the outer one but should be all the inner ones. **To Reproduce**...
Right now we're disallowing inline arrays of length 0. I believe when I added inline arrays, I read that length 0 is undefined behavior, so I disallowed length 0. >...
[Array.from (MDN)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from).
[June 2024: This issue has been clarified by revisiting the specification. The analyzer should report a compile-time error like the one that the CFE currently reports.] Cf. https://github.com/dart-lang/sdk/issues/52077 for a...
The following crash occurred while trying to find the compilation unit for an element: ``` StateError: Bad state: No unit: as prefix0 at _getUnitElement (protocol_server.dart:303) at newLocation_fromElement (protocol_server.dart:191) at convertElement...
ArgumentError: ```none Invalid argument(s): Missing library: package:xyz Libraries: [dart:async, dart:collection, dart:convert, dart:core, dart:_internal, dart:math, dart:typed_data, package:abc Root children: [dart:async, dart:collection, dart:convert, dart:core, dart:_internal, dart:math, dart:typed_data, package:abc Readers: [dart:async, dart:collection, dart:convert,...
This might not be a Dart issue, but since changing the Dart script for a NodeJS script seems to cause the issue to go away I wonder if there might...