commit | db62dc5323b11f5827376c1b1ca67e7fe3ed6ce0 | [log] [tgz] |
---|---|---|
author | Paul Berry <paulberry@google.com> | Fri Feb 22 13:39:46 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Feb 22 13:39:46 2019 +0000 |
tree | 4e24661231faa1399e8282bd10594dec4efba41f | |
parent | 5aba7b7b85e9b7dcb275ea06dd485b3f97da9175 [diff] |
Remove hardcoded precedence integers in front end. Use the constants in pkg/front_end/lib/src/scanner/token.dart. This ensures that if the precedence numbers ever change (e.g. because we need to insert a new expression type into the precedence table), it won't cause any breakages. Change-Id: Ie90122435c65dd51fe9be96afe0a8890cc245b55 Reviewed-on: https://dart-review.googlesource.com/c/93931 Reviewed-by: Kevin Millikin <kmillikin@google.com> Reviewed-by: Dan Rubel <danrubel@google.com> Commit-Queue: Paul Berry <paulberry@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.