sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
Raised by @escamoteur at https://github.com/Dart-Code/Dart-Code/issues/736: It would be very comfortable if when overriding a method in an extended class if DartCode could offer a list of potential candidates via intellisense...
Currently it's possible to rename and add `external static` members in an `@anonymous` class (with or without the `@staticInterop` annotation): ```dart @JS('Rename') @anonymous // @staticInterop class AnonymousClass { external static...
The Dart VM currently accepts the parameter `--old_gen_heap_size=%MB` to define the maximum size of the old gen heap size (in MB). When compiling a Dart "script" to a self-contained executable...
Say I have these 2 files: `main.dart`: ```dart import "lib.dart"; void main() { print(calculate()); } ``` and `lib.dart`: ```dart int calculate() { return 6 * 7; } int calculateSomethingElse() {...
Applying `sort imports` fix when there's an import statement that spans across two lines does not work properly: https://github.com/dart-lang/sdk/assets/46427323/ce45d8a8-b0dc-4cd2-aaf2-56cf971b467e ## Code Sample: The code sample is for reproduction purposes. In...
https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-win-debug-x64/2517/overview ``` --- Command "vm" (took 03.000845s): set DART_CONFIGURATION=DebugX64 & set DART_SUPPRESS_WER=1 & set DART_CRASHPAD_HANDLER=C:\b\s\w\ir\out\DebugX64\crashpad_handler.exe & out\DebugX64\dart.exe --sound-null-safety -Dtest_runner.configuration=vm-win-debug-x64 --ignore-unrecognized-flags --packages=C:\b\s\w\ir\.dart_tool\package_config.json C:\b\s\w\ir\tests\co19\src\LibTest\io\Link\createSync_A06_t01.dart exit code: 255 stderr: Unhandled exception: Expect.equals(expected: ,...
## Problem I am trying to make a connection with the following URL: https://www.popularmechanics.com/rss/science/?src=rss. In my browser, everything seems fine. However, when I try to retrieve the URL using `.get()`...
If I step into a macro-generated script with the debugger, the `uri` or the script is an empty string: ```js "topFrame": { "type": "Frame", "kind": "Regular", "location": { "type": "SourceLocation",...
 I'd expect completion to suggest library names that are in the same folder or higher. For example if current file is in `project/web/src` I think it is reasonable to...
Originally, `package:meta` was a compromise (like `package:js`) to allow faster-iteration and versioned releases out of the SDK, and to (as far as I remember?) bypass arguments around what belongs in...