Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: rename fails with "conflicts with var in same block" when the new identifier already exists #41852
This is related to (but slightly different from) #41851.
What did you do?
What did you expect to see?
The identifier at the point, as well as all references to it, should be renamed, despite the fact that the new identifier conflicts with the existing declaration.
The resulting program should now have a
What did you see instead?