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
package main
typeB*struct{ A }
typeAinterface{ m(B) }
funcmain() {}
What did you see happen?
./main.go:6:6: internal compiler error: declared pointer receiver type: B
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
Go version
go 1.26.1
Output of
go envin your module/workspace:What did you do?
What did you see happen?
What did you expect to see?
No ICE.