commit | 74ac17c13f9cebd858a0979769169c14404a312e | [log] [tgz] |
---|---|---|
author | Paul Berry <paulberry@google.com> | Thu Apr 25 17:42:53 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Apr 25 17:42:53 2019 +0000 |
tree | 8985446de2057461daea3ce7fc4838b7b55c6f59 | |
parent | e70273c306934d62b2f8d4c469980b2a83cca5a6 [diff] |
In BestPracticesVerifier, configure linter context with unit information. This is necessary because as of bb2a3ca6f616f6fb4fc605a1ff1179261dd5448d, LinterContextImpl.canBeConst uses the linter context's unit information to figure out which features are enabled, so it can make a correct determination of whether the expression can be const. Change-Id: I8987a33eaca206def9f03a74bc442a44b22e80e9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/100562 Reviewed-by: Konstantin Shcheglov <scheglov@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.