]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: a dot expression can not be a struct literal key
authorIan Lance Taylor <iant@golang.org>
Sun, 17 Apr 2016 22:33:07 +0000 (15:33 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 18 Apr 2016 15:09:47 +0000 (15:09 +0000)
commitf5423a63dfa5d010e7796271666f592a5f9dad70
tree429dc04557c8464c8d0af6a348ff959309dac79c
parent95df0c6ab93f6a42bdc9fd45500fd4d56bfc9add
cmd/compile: a dot expression can not be a struct literal key

Passes toolstash -cmp.

Fixes #15311.

Change-Id: I1d67f5c9de38e899ab2d6c8986fabd6f197df23a
Reviewed-on: https://go-review.googlesource.com/22162
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/compile/internal/gc/typecheck.go
test/fixedbugs/issue15311.go [new file with mode: 0644]