Gopher Robot submitted the change![Open in Gerrit]()
Unreviewed changes
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Change information
Commit message:
cmd/compile: enable promoted field selectors as keys in struct literals
Switch the generated UIR version from V2 to V3.
Adjust cmd/compile/internal/types to accept promoted field selectors
in composite literals.
Fixes #9859.
Change-Id: Ie314e28567cfa6cf4c9e962a07b32dd05b06bf5e
Files:
- M src/cmd/compile/internal/noder/unified.go
- M src/cmd/compile/internal/typecheck/expr.go
- M src/cmd/compile/internal/walk/complit.go
- A test/complit2.go
Change size: M
Delta: 4 files changed, 55 insertions(+), 6 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Keith Randall, +1 by Mark Freeman
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Ie314e28567cfa6cf4c9e962a07b32dd05b06bf5e
Gerrit-Change-Number: 755740
Gerrit-PatchSet: 6