Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: error has incorrect column number #37180
What version of Go are you using (
Yeah, this is a known issue of the Go compiler's AST that we don't have precise column information for identifier use locations. I can't find an issue that captures this though.
A while back I tried preparing https://go-review.googlesource.com/c/go/+/38735 to fix this, but it had a non-negligible compiler performance impact (~4% for go/types and cmd/compile).