What version of Go are you using (go version)?
$ go version
go version go1.18beta1 linux/amd64
Does this issue reproduce with the latest release?
In 1.18 beta 1, not in 1.17.5,
What did you do?
package main
type Int = int
type A = struct{ int }
type B = struct{ Int }
func main() {
var x, y interface{} = A{}, B{}
println(x == y) // true
}
What did you expect to see?
compiles okay
What did you see instead?
crashes compiler
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
In 1.18 beta 1, not in 1.17.5,
What did you do?
What did you expect to see?
compiles okay
What did you see instead?
crashes compiler