What version of Go are you using (go version)?
go version go1.9 linux/amd64
Does this issue reproduce with the latest release?
yes
What did you do?
package main
type T *int
type S struct {
T // error: embedded type cannot be a pointer
}
What did you expect to see?
The error message should be embedded type cannot be alias to a pointer for better.
What version of Go are you using (
go version)?go version go1.9 linux/amd64
Does this issue reproduce with the latest release?
yes
What did you do?
What did you expect to see?
The error message should be
embedded type cannot be alias to a pointerfor better.