]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] cmd/compile/internal/noder: push exprBlank up into assignment handling
authorMatthew Dempsky <mdempsky@google.com>
Fri, 3 Jun 2022 20:21:09 +0000 (13:21 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 6 Jun 2022 18:57:51 +0000 (18:57 +0000)
commitb39ac808714add90df425298c1f1bdc9d47cfd45
tree7350cfa91a3da7335e4f7a04c59629889305151a
parent55fc07e16416bd3677c81bb6379ac8f9e881e5cf
[dev.unified] cmd/compile/internal/noder: push exprBlank up into assignment handling

Blanks can only appear on the LHS of an assignment. Instead of
handling them as an arbitrary expression, handle them as part of
assignee expression lists.

Change-Id: Iaeb0a5c471ffa1abd2bbbd9c95f7876533e5a607
Reviewed-on: https://go-review.googlesource.com/c/go/+/410100
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/noder/codes.go
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/noder/writer.go
src/internal/pkgbits/sync.go
src/internal/pkgbits/syncmarker_string.go