commit | 2693b424662580c3f4fc65e43474e4db0f9c5cf5 | [log] [tgz] |
---|---|---|
author | Josh Bleecher Snyder <josharian@gmail.com> | Wed Apr 24 16:59:34 2019 -0700 |
committer | Josh Bleecher Snyder <josharian@gmail.com> | Thu Apr 25 01:30:56 2019 +0000 |
tree | b1090a6c0295db854c5178d46d91de1694a52c85 | |
parent | 7596ad0b24436dcde6a370139fbac34a95f15923 [diff] |
cmd/compile: don't initialize blank struct fields We already skipped blank field initialization in non-global contexts. This change makes the global context treatment match. Fixes #31546 Change-Id: I40acce49b0a9deb351ae0da098f4c114e425ec63 Reviewed-on: https://go-review.googlesource.com/c/go/+/173723 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.