You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go version
go version go1.19.1 linux/amd64
go version go1.19.1 windows/amd64
Does this issue reproduce with the latest release?
Yes, I am using Go1.19.1 and it is reproducible. But it is working in Go 1.18 of The Go Playground.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
As it is failed in Go Playground. I hope that go env should be required.
What did you do?
I was working on design using generic feature where I faced this issue. So I wrote dummy and small code to depict it. https://go.dev/play/p/b8U8IoeQGWw
What did you expect to see?
It should run and print output=2
What did you see instead?
./prog.go:48:24: internal compiler error: method M1 on struct {} not found
Please file a bug report including a short program that triggers the error. https://go.dev/issue/new
Go build failed.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, I am using Go1.19.1 and it is reproducible. But it is working in Go 1.18 of The Go Playground.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I was working on design using generic feature where I faced this issue. So I wrote dummy and small code to depict it.
https://go.dev/play/p/b8U8IoeQGWw
What did you expect to see?
It should run and print output=2
What did you see instead?
./prog.go:48:24: internal compiler error: method M1 on struct {} not found
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
Go build failed.
The text was updated successfully, but these errors were encountered: