sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
You need two different files for this. `example.dart`: ```dart class Example { Example.foo(); static final bar = Example.foo(); } void youKnowWho(Example e) {} ``` `main.dart`: ```dart import 'example.dart'; void main()...
https://github.com/dart-lang/web/actions/runs/20084884864/job/57620047495?pr=487 It'd be awesome if there was more information here. Not sure if this is an SDK thing or a pkg:test thing
https://dart-ci.appspot.com/log/pkg-win-release/unittest-asserts-release-win-x64/35370/pkg/perf_witness/test/recorder_server_test ``` --- Command "vm" (took 54.000451s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & set CHROME_PATH=C:\b\s\w\ir\third_party\browsers\chrome\Chrome\Application\chrome.exe & out\ReleaseX64\dart-sdk\bin\dart.exe --enable_asserts -Dtest_runner.configuration=unittest-asserts-release-win-x64 --ignore-unrecognized-flags --packages=C:\b\s\w\ir\.dart_tool\package_config.json C:\b\s\w\ir\pkg\perf_witness\test\recorder_server_test.dart exit code: 255 stdout: 00:00 [32m+0[0m: Recorder and...
Self contained repro: - It starts a TLS server, connects to it and sends 100Kb of data. - The server accepts the connection, then does `socket.listen(...).pause()` (which is equivalent to...
fix [6993](https://github.com/dart-lang/site-www/issues/6993) fix [6994](https://github.com/dart-lang/site-www/issues/6994) fix [6992](https://github.com/dart-lang/site-www/issues/6992) This PR adds a hyperlink from “obvious” / “obviously typed” to the official glossary entry: https://dart.dev/resources/glossary#obviously-typed.
(To be clear, this is purely an issue with live analysis, like DartCode and DartPad. When the code is fully written the compiler behaves correctly.) Given the following example: ```dart...
Hello team ! Not sure that it is still actual, but I found this bug on Dart 3.8.0 and Dart 3.10.3. Consider the following Dart Code: ```dart import 'dart:async'; void...
Dart2js has a mechanism that allows keeping dead code alive until late in the optimization pipeline. This allows global analysis & transformations to consider the code alive (and therefore e.g....
The wasm instruction set is constantly evolving as new proposals and features are added to the spec. We could implement usage of newer instructions as individual flags but it's difficult...
When a named constructor and a non-static member (field, getter, method) have the same name, the analyzer and IDE plugins will report an error, even though the compiler seems to...