https://go.dev/cl/583755 removed the ifaceIndir function from the reflect package. Unfortunately, ifaceIndir is accessed using go:linkname by the popular github.com/goccy/go-json package. A bug has been filed to fix this upstream: https://github.com/goccy/go-json/issues/506. Until that bug is fixed and the fix is distributed, we need to keep ifaceIndir available.
I'm filing this bug so that we remember to remove it. With luck we can remove this in the 1.24 release. Marking as a release blocker to make sure we consider it for 1.24.
Go version
devel go1.23-95a3779ebc linux/amd64
Output of
go env
in your module/workspace:What did you do?
https://go.dev/cl/583755 removed the
ifaceIndir
function from the reflect package. Unfortunately,ifaceIndir
is accessed usinggo:linkname
by the popular github.com/goccy/go-json package. A bug has been filed to fix this upstream: https://github.com/goccy/go-json/issues/506. Until that bug is fixed and the fix is distributed, we need to keepifaceIndir
available.I'm filing this bug so that we remember to remove it. With luck we can remove this in the 1.24 release. Marking as a release blocker to make sure we consider it for 1.24.
What did you see happen?
ifaceIndir
present.What did you expect to see?
No
ifaceIndir
.