]> Cypherpunks repositories - gostls13.git/commit
Revert "cmd/compile: improve errors for invalid conversions of consts"
authorMatthew Dempsky <mdempsky@google.com>
Fri, 6 Sep 2019 20:54:36 +0000 (20:54 +0000)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 6 Sep 2019 22:44:48 +0000 (22:44 +0000)
commite6ba19f9138dfaa981b281105fafabbf55250a18
tree5d419efc388b623b2f2990098a920bfa56d3c8c4
parent8a8cf5bf6d233c97180a6ef7e64d9c67a402470f
Revert "cmd/compile: improve errors for invalid conversions of consts"

This reverts commit 2da9c3e0f99b72cf8f3bdca01b57e7a68a546c5b.

Reason for revert: while the new error messages are more informative,
they're not strictly correct. This CL also conflicts with CL 187657.

Change-Id: I1c36cf7e86c2f35ee83a4f98918ee38aa1f59965
Reviewed-on: https://go-review.googlesource.com/c/go/+/193977
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/const.go
test/fixedbugs/issue21979.go [deleted file]