mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
No description
2f49f29c38
The expression ‘await e’ always suspends the enclosing function. If e does not evaluate to a an object o of type Future, a new Future is created using Future.value(o). A small change in the backend allows a return instruction to be followed by other instructions. In async functions, a return can suspend the function and the continuation point is in the same code block after the return. Other small changes: - More user-friendly error message if async/await is not enabled. - Programs no longer need to import dart:async when using async/await. R=fschneider@google.com Review URL: https://codereview.chromium.org//634603002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41105 260f80e4-7a28-3924-810f-c04153c831b5 |
||
---|---|---|
client | ||
docs/language | ||
pkg | ||
runtime | ||
sdk | ||
site/try | ||
tests | ||
tools | ||
utils | ||
.gitignore | ||
AUTHORS | ||
codereview.settings | ||
create_sdk.gyp | ||
dart.gyp | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README | ||
README.dart-sdk | ||
WATCHLISTS |
This is the repository of the Dart programming language and its associated tools, libraries, and samples. For license information, please see LICENSE. You can find more about Dart online at http://dartlang.org or http://code.google.com/p/dart. Here's a brief guide to what's in here: editor/ Eclipse-based standalone Dart IDE. lib/ Libraries that ship with the Dart runtime (core, html, etc.). pkg/ Packages that are not shipped with the core runtime. runtime/ Dart VM and code for running it as a standalone app. samples/ Sample Dart programs. tests/ Automated tests. third_party/ External dependencies. tools/ Build scripts, text editor support files, etc. utils/ Utilities for Dart applications.