A repository to reproduce golang/go#25065
Make sure $GOPATH
is set properly. Then, run the following commands.
go get -d github.com/yunabe/gobug25065
$(go env GOPATH)/src/github.com/yunabe/gobug25065/run.sh
The error is gone if we remove fmt.Println((*myType).A)
from src.go
.