commit | 0db6545b51ad1baf89e8b5ca1c5eb32b55ed6b17 | [log] [tgz] |
---|---|---|
author | Daniel Hillerström <hillerstrom@google.com> | Thu Aug 16 07:07:40 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Aug 16 07:07:40 2018 +0000 |
tree | ad9fe6743ea2bc19b66344cc9b0febda08791e64 | |
parent | ad6029c608f8cbfb48eccd5f742ee4568bc6c312 [diff] |
Illegal return type check for functions marked async* or sync*. Extends the illegal return type check for async functions to cover illegal return types for functions marked async* or sync* as well. Adds new error messages for illegal return types of functions marked async, async*, and sync*. These error messages conform with those produced by the analyzer. Closes https://github.com/dart-lang/sdk/issues/33068 Bug: www.dartbug.com/33068 Change-Id: I6d8690537139d3d094a4e295fcac9de4f4a7f0af Reviewed-on: https://dart-review.googlesource.com/69581 Commit-Queue: Daniel Hillerström <hillerstrom@google.com> Reviewed-by: Aske Simon Christensen <askesc@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.