]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix error message for &T{} literal mismatch
authorRobert Griesemer <gri@golang.org>
Wed, 19 Sep 2018 22:55:36 +0000 (15:55 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 20 Sep 2018 00:07:35 +0000 (00:07 +0000)
commitae37f5a39721e5cd6177fec4a9c6e32a86c07376
treeccca525b3402d506bf5890392c3a3a022c3afb24
parent9c2e5f297136f4fa31e1731313b8c09b7aead108
cmd/compile: fix error message for &T{} literal mismatch

See the change and comment in typecheck.go for a detailed explanation.

Fixes #26855.

Change-Id: I7867f948490fc0873b1bd849048cda6acbc36e76
Reviewed-on: https://go-review.googlesource.com/136395
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/typecheck.go
test/fixedbugs/issue26855.go [new file with mode: 0644]