sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
The following co19 tests timeouts on dartdevk (work well on other platforms) co19/Language/Statements/For/Asynchronous_For_in/execution_A02_t01 co19/Language/Statements/For/Asynchronous_For_in/execution_A02_t02 See full log on https://dart-ci.firebaseapp.com/cl/253664/1
...or perhaps provide a new library that does so. Context: Flutter users are concerned about the added size of including a networking stack that they may not want to use...
Originally filed for Flutter: https://github.com/flutter/flutter/issues/41500 The issue reports that using Dart to access resources over VPN doesn't work. I looked through Dart's source code and it appears to be using...
Given the following: ``` void g(int Function({int x}) f) { f(x: 2); } ``` If you rename the `x` in the parameter list to `y` you get: ``` void g(int...
I'm experimenting with a little VM to evaluate expressions that are only known at runtime. Unfortunately, just the dispatching of instructions through [a long switch statement](https://github.com/blaugold/dart-vector-tile-renderer/blob/bab1b17d7f8b8677f7eb1dbc02d5404bf74f758b/lib/src/themes/expression/vm/vm.dart#L181) takes about 50% of...
The following co19 tests co19/Language/Statements/Yield_and_Yield_Each/Yield/execution_async_A01_t04 co19/Language/Statements/Yield_and_Yield_Each/Yield/execution_async_A01_t06 co19/Language/Statements/Yield_and_Yield_Each/Yield/execution_async_A01_t07 co19/Language/Statements/Yield_and_Yield_Each/Yield/execution_async_A03_t01 co19/Language/Statements/Yield_and_Yield_Each/Yield/execution_async_A03_t02 fail on dart2js with ``` Deobfuscated error and stack: at window.onerror called: unparsed at Error._throw org-dartlang-sdk:///lib/_internal/js_runtime/lib/core_patch.dart 243:38 at Uncaught unparsed ```...
I'm primarily concerned about this for Flutter, where I can't use `dart:mirrors`. As a library author, I would like to be able to publish code that conditionally uses new functionality...
TL;DR Currently, Dart compiled into JavaScript considers the operands of bitwise operations as unsigned 32-bit integers. I wrote and ran the following code ```dart void main() { print(-1 & -1);...
### Commit(s) to merge 019cfb9 ### Target beta ### Issue Description For Flutter users on Windows, running the application will sometimes trigger an exception on the analysis server ("Socket error:...
Running the following code work in dart native but does not work inside a flutter app ```dart final InternetAddress? internetAddressTemp = InternetAddress.tryParse('Ip_with_host'); InternetAddress internetAddress = await internetAddressTemp!.reverse(); print(internetAddress.host); ``` Getting...