What version of Go are you using (go version)?
$ go version
go version devel +44c9354c5a Fri Jun 21 05:21:30 2019 +0000 darwin/amd64
Does this issue reproduce with the latest release?
Yes.
What did you do?
_ = 1i < 2i
https://play.golang.org/p/syOtlxxmrya
What did you expect to see?
invalid operation: 1i < 2i (operator < not defined on complex128)
What did you see instead?
internal compiler error: compareOp: bad comparison: 1i < 2i
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Yes.
What did you do?
_ = 1i < 2ihttps://play.golang.org/p/syOtlxxmrya
What did you expect to see?
invalid operation: 1i < 2i (operator < not defined on complex128)
What did you see instead?
internal compiler error: compareOp: bad comparison: 1i < 2i