commit | 457e58c6379be1a2038ba1296e543474078faac1 | [log] [tgz] |
---|---|---|
author | Konstantin Shcheglov <scheglov@google.com> | Mon May 06 20:52:13 2019 +0000 |
committer | Konstantin Shcheglov <scheglov@google.com> | Mon May 06 20:52:13 2019 +0000 |
tree | d1cd175bfd50767bb6238a0a1ed52b94b99cc92a | |
parent | 79f4ecf1911d4a7f94e33b77d1ee7bc15f364698 [diff] |
Type promotion requires current function body. So, wee set one when resolving constructor initializers, even if it is empty. R=brianwilkerson@google.com Change-Id: Ia63e60ed40bbf7e9c7f681acbce9548cc03bca65 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/101486 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@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.