cmd/compile: confusing error message for non-bool comparison #41500
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?go version go1.15.2 darwin/amd64
What did you do?
I tried to compile the following program: https://play.golang.org/p/k1xIda2_lTk
I forgot to add
len(x.Slice) == 0
.What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: