[vm] Build scopes for implicit getters of static const fields Usually implicit getters are not used for static const fields. However, coverage can force their compilation. In order to compile implicit getter of a static const field, its initializer is evaluated in a constant evaluator. Initializer may have Let expressions and can declare local variables. Before this fix scope builder was not visiting initializer body for implicit getters, which caused crashes in constant evaluator. Fixes https://github.com/dart-lang/sdk/issues/35808 Change-Id: I807aeaa90886d84169c27275abdd0cfd0f3ff777 Reviewed-on: https://dart-review.googlesource.com/c/91705 Commit-Queue: Alexander Markov <alexmarkov@google.com> Auto-Submit: Alexander Markov <alexmarkov@google.com> Reviewed-by: Martin Kustermann <kustermann@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.