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
x/tools/gopls: infinite recursion, crash when presented with a recursively defined type #36637
I'm using govim with x/tools/gopls at 0cba7a3a.
This crash seems easy to reproduce. For instance, I created a new file in an empty package and then typed this in:
and then, at the end (where the receiver type goes, after I'd already typed
Here's an excerpt from the govim log:
The code is bouncing between the first and last line in the highlighted range in the
That function was added in CL 210357, though I don't know if the underlying issue existed before.