commit | 767081962f847e63626d9c20e5b0b8f552702e76 | [log] [tgz] |
---|---|---|
author | adonovan <adonovan@google.com> | Thu Apr 23 13:09:52 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 23 13:11:06 2020 -0700 |
tree | 37325afa509db92e78301fe16a70c2747fdccc93 | |
parent | 72383b5dc8abaeb39080e0cdb10297070d6dbb2c [diff] |
bazel syntax: StarlarkFunction.toString: don't print default values This change causes the toString method of StarlarkFunction not to include the default values of optional parameters. The default values are potentially large and they are usually not very interesting. (I don't know why we print even the parameter names. Python doesn't.) This string is not accessible to Starlark programs; it is only a (breaking) API change. One Copybara test needed updating. PiperOrigin-RevId: 308113924
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md