go/types: infinite recursion in gopls via *TypeParam.Underlying #50803
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
gopls version: v0.7.5
gopls flags:
update flags: proxy
extension version: 0.30.0
go version: 1.18beta1
environment: Visual Studio Code darwin
initialization error: undefined
issue timestamp: Tue, 25 Jan 2022 03:54:55 GMT
restart history:
Mon, 24 Jan 2022 22:46:20 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
Here's a complete file that I'm able to cause crashes in:
I was editing the type parameters of
MakeIt
(specifically the X parameter) just seeing what kinds of things were and weren't possible to specify. Changing X any to X XT caused the crash to occur the first time (I think?). When I edit this standalone the stack trace below shows up, but VSCode doesn't tell me that gopls crashed.Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.
OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
The text was updated successfully, but these errors were encountered: