What version of Go are you using (go version)?
go1.9.1 windows/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
windows/amd64
What did you do?
Missed typing the parameter type for an anonymous function which is using the same parameter name as a variable defined in surrounding function.
It is reproducible in play.golang.org
https://play.golang.org/p/AP3xRF11H4
What did you expect to see?
No internal compiler error
What did you see instead?
internal compiler error: method receiver
What version of Go are you using (
go version)?go1.9.1 windows/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env)?windows/amd64
What did you do?
Missed typing the parameter type for an anonymous function which is using the same parameter name as a variable defined in surrounding function.
It is reproducible in play.golang.org
https://play.golang.org/p/AP3xRF11H4
What did you expect to see?
No internal compiler error
What did you see instead?
internal compiler error: method receiver