gotypesalias=1 does not seem to get used correctly for deps on Go 1.23
Recently, I have help to troubleshooting the Go type alias issue inside packages.Load
, which relates x/tools
, go list
and cmd/compile
. My original CL is correct, but I got confused when I found the exportdata contains all aliases regardless gotypealias
setting. Then, tim has shepherded my CL by another CL to fix it.
Feel a bit frustrated when I saw the email when I got up. But it helps me a lot to learn how go toolchain and cmd/compile
works. Think twice before you act!