Find a file
Sigmund Cherem 7e8a203f1e [ddc] use async-helper in ddc's hot_restart_timer test
This test returned a future, which in other runtimes may mean that
the test would not be awaited for. The test-runner for DDC does include
extra asyncStart/asyncEnd to ensure the test runs to completion.
However, this sporadically caused double reporting and flaky failures
([example][1]).

This change makes the test itself track the async nature of the test,
just like we do in most other tests today.

[1]: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8766055193681740753/+/u/test_results/ignored_flaky_test_failure_logs

Change-Id: Ib0edab197db21026d38b40036a1eeaf6edff5ad6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/333300
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2023-11-02 15:37:14 +00:00
.dart_tool
.github Bump ossf/scorecard-action from 2.3.0 to 2.3.1 2023-11-02 08:06:08 +00:00
benchmarks [benchmarks] Update TypedDataPoly benchmark 2023-10-27 16:56:03 +00:00
build [build] Use Fuchsia-provided sysroot. 2023-11-02 14:39:10 +00:00
docs
pkg [dart2wasm] Generate inline code for int ~/ operator 2023-11-02 14:46:37 +00:00
runtime [test] More systematically mark GC stress tests as slow. 2023-11-01 22:57:09 +00:00
samples [build] Fix Windows linker warning about unrecognized flag. 2023-10-26 19:23:20 +00:00
sdk [dart2wasm] Use the same Dart object when to{Upper,Lower}Case returns the argument 2023-11-02 12:21:24 +00:00
tests [ddc] use async-helper in ddc's hot_restart_timer test 2023-11-02 15:37:14 +00:00
third_party
tools [build] Use Fuchsia-provided sysroot. 2023-11-02 14:39:10 +00:00
utils
.clang-format
.gitattributes
.gitconfig
.gitignore
.gn
.mailmap
.style.yapf
.vpython
AUTHORS
BUILD.gn [test] Cleanup building Fuchsia packages/components. 2023-10-31 17:11:51 +00:00
CHANGELOG.md [vm] Mark NativeFieldWrapperClasses as base 2023-10-31 10:23:12 +00:00
codereview.settings
CONTRIBUTING.md Improve patch upload instructions for non-committers 2023-10-27 07:22:48 +00:00
DEPS [build] Use Fuchsia-provided sysroot. 2023-11-02 14:39:10 +00:00
LICENSE
OWNERS
PATENT_GRANT
PRESUBMIT.py
README.dart-sdk
README.md
sdk.code-workspace
sdk_args.gni
SECURITY.md
WATCHLISTS

Dart

A client-optimized language for fast apps on any platform

Dart is:

  • Optimized for UI: Develop with a programming language specialized around the needs of user interface creation.

  • Productive: Make changes iteratively: use hot reload to see the result instantly in your running app.

  • Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web.

Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:

  • Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.

  • Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).

Dart platforms illustration

License & patents

Dart is free and open source.

See LICENSE and PATENT_GRANT.

Using Dart

Visit dart.dev to learn more about the language, tools, and to find codelabs.

Browse pub.dev for more packages and libraries contributed by the community and the Dart team.

Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).

Building Dart

If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.

There are more documents on our wiki.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.