What version of Go are you using (go version)?
$ go version 1.19
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
It reproduces even on playground.
What did you do?
https://go.dev/play/p/ofUDuB6gNud
What did you expect to see?
Build runs successfully.
What did you see instead?
<autogenerated>:1: internal compiler error: panic: runtime error: invalid memory address or nil pointer dereference
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
Go build failed.
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env)?It reproduces even on playground.
What did you do?
https://go.dev/play/p/ofUDuB6gNud
What did you expect to see?
Build runs successfully.
What did you see instead?