commit | 711dd8e82e022bb57a40d6473444b1696eb0e991 | [log] [tgz] |
---|---|---|
author | Stephen Adams <sra@google.com> | Mon Feb 18 16:54:03 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Mon Feb 18 16:54:03 2019 +0000 |
tree | fe17cd4ecfc26514d5a664284a2924f4fbde6054 | |
parent | f4b649ca4f3b7b195512cabe7366c8881d943d3e [diff] |
[dart2js] Avoid generating 'return' statement in setter Setters don't need to return anything. Recognize the ir.ReturnStatement in set foo(x) => this._foo = x; This reduces some large apps that use that style by a few KB. Change-Id: I87edced1024ab6e596564fa748484d9e07f9f2d7 Reviewed-on: https://dart-review.googlesource.com/c/93368 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Stephen Adams <sra@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.