commit | f175b0baf83f8c13c31cc1c84c4acf627ea3730e | [log] [tgz] |
---|---|---|
author | Sigmund Cherem <sigmund@google.com> | Tue Apr 16 19:50:55 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Tue Apr 16 19:50:55 2019 +0000 |
tree | f9d0ee91665dc2d6254dbb4156eb3a994f02e23b | |
parent | 73d99df7e0eb78790904b72b0841bd65846459bd [diff] |
Report errors for using control-flow and spread features in a const context CFE detects the const context while parsing, so we can report the error message early on before we do any transformations. Change-Id: Ib1cadb28366eb6a9a18612206aa155b04a4a5b32 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99540 Commit-Queue: Sigmund Cherem <sigmund@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@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.