commit | 1f92293fd583a58418d62ae6c93c00a2dfb3bca5 | [log] [tgz] |
---|---|---|
author | Ivan Inozemtsev <iinozemtsev@google.com> | Wed Sep 02 10:03:25 2020 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed Sep 02 10:03:25 2020 +0000 |
tree | dc8c11c0f36f50009f1114215de22d6446ffd6c5 | |
parent | e44cf969c643e39e9fff7a4139a7aef0ecb6e493 [diff] |
Revert "[dart:html] Add 'creates' type description to JS calls" This reverts commit 1a6420b883bdefa59345f91b79ab8bb4f60b65f6. Reason for revert: This changes signatures of public methods to return private types (e.g. `Future<_Cache> open` in `CacheStorage` and `Future<_Response> fetch` in `Window`), which is a breaking change without any workaround and it breaks some mocks in customer code. Original change's description: > [dart:html] Add 'creates' type description to JS calls > > Closes https://github.com/dart-lang/sdk/issues/43225 > > JS calls on promises need to include a type description for types > that may be newly live after the call. Since type parameters in a > promise are not parsed, type dictionary for these APIs is updated > to include any possible types created and code gen is changed to > include them in the JS foreign function call. > > Change-Id: I8c977e4b33b383093e4091f1be94199b342521b6 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/160781 > Reviewed-by: Stephen Adams <sra@google.com> > Commit-Queue: Srujan Gaddam <srujzs@google.com> TBR=sra@google.com,sigmund@google.com,srujzs@google.com Change-Id: I345053f599457eccfed0efdf68cdea4179693362 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161484 Reviewed-by: Ivan Inozemtsev <iinozemtsev@google.com> Reviewed-by: David Morgan <davidmorgan@google.com> Commit-Queue: David Morgan <davidmorgan@google.com> Auto-Submit: Ivan Inozemtsev <iinozemtsev@google.com>
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 is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, getting started, and more.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
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.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.