commit | 19e2bb165f1c144b376fb52927e659f1cdf35caf | [log] [tgz] |
---|---|---|
author | Kevin Millikin <kmillikin@google.com> | Thu Aug 23 12:03:39 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Aug 23 12:03:39 2018 +0000 |
tree | 9146a864c955e40772e3f298e878643c7295b211 | |
parent | cbf1b9479041c6c449d923e98864d351da7f440f [diff] |
Specialize handling of returns and yields Previously we used the same code to handle returns and yields. The code can be inlined and specialized. This is a change in preparation for detecting invalid returns in ClosureContext.handleReturn instead of in TypeInferrer.ensureAssignable. Change-Id: Ia6adc43ac1b95bb684e5df3757bcfd253434396a Reviewed-on: https://dart-review.googlesource.com/71248 Reviewed-by: Daniel Hillerström <hillerstrom@google.com> Commit-Queue: Kevin Millikin <kmillikin@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org 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.