commit | ed5bdfa2276b79590daa46b72ec0513df54a8634 | [log] [tgz] |
---|---|---|
author | Aske Simon Christensen <askesc@google.com> | Tue Feb 12 14:26:09 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Tue Feb 12 14:26:09 2019 +0000 |
tree | e2b9320de7ec8e6820fda5abb83b84d5b390acec | |
parent | 660cf26dbb8e7a7e4fb49f0947e64f9ed055d9c0 [diff] |
[CFE] Fix check for unavailable constructors. To support separate compilation in DDC, the constant evaluator would leave instantiations through unavailable constructors unevaluated. These constructors were identified by being in an external library and having no initializers. This check erroneously triggered on "const Object()", breaking the bytecode generator. Change-Id: I73c10982a36086a431e9fbd54d67cbcde90df68e Reviewed-on: https://dart-review.googlesource.com/c/92721 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Aske Simon Christensen <askesc@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.