commit | 41a8b794758f901f8bb2c88aa6b96298c79deef1 | [log] [tgz] |
---|---|---|
author | Paul Berry <paulberry@google.com> | Thu Jun 14 14:08:54 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jun 14 14:08:54 2018 +0000 |
tree | c84978f203797e6d38fe481f4dff8efa371b8230 | |
parent | 2972ca61f8accbb1d98a23720d43e19c22a0e236 [diff] |
Use the inferred type of const lists/maps to for constant evaluation. This addresses one of the root causes of #33304. Note that when a constant list or map is recorded in a summary, we don't encode enough information in the summary to resynthesize its inferred type correctly, so this only fixes cases where the constant is used in the same build unit as its declaration. Change-Id: Id0034f481cb82f18c77bbe2ee8ebec7e8b244caa Reviewed-on: https://dart-review.googlesource.com/60203 Reviewed-by: Brian Wilkerson <brianwilkerson@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.