While exploring how this tool works and fixing issues I noticed that Go had deprecated the use of ast.Object https://pkg.go.dev/go/ast#Object
I have no idea how fast Go removes features from these packages that have been deprecated, but I think it would make sense to try to remove the use of ast.Object at some point. There's a draft pull request that fixes all the ones I could find, but there might be some harder to detect usages elsewhere. Additionally I fixed TODOs from tls.go and added new tests for those.
While exploring how this tool works and fixing issues I noticed that Go had deprecated the use of
ast.Objecthttps://pkg.go.dev/go/ast#ObjectI have no idea how fast Go removes features from these packages that have been deprecated, but I think it would make sense to try to remove the use of ast.Object at some point. There's a draft pull request that fixes all the ones I could find, but there might be some harder to detect usages elsewhere. Additionally I fixed TODOs from tls.go and added new tests for those.