Open alejo-rivera opened 2 months ago
I'm pretty sure this is because the golang.org/x/tools
is at version v0.1.0 while the latest is v0.27.0. This is the package that manages the parsing the go code and I bet its just so out of date that it doesn't work any more.
I'm seeing panics when building/installing go-codegen with go >1.22.0. If I build using go <1.21.13 everything works as expected.
See below stack trace in the standard library.
Panic when built with go1.23.1
No panic when built with go1.23.1