-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go/types: panic("t.fromRHS = %s, typ = %s") in setDefType #71029
Labels
gopls/telemetry-wins
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Comments
adonovan
added
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls/telemetry-wins
labels
Dec 26, 2024
#71010 in the compiler might be the same bug? |
Yep! Hey, you're using |
I've got a hacked up version in https://go.dev/cl/638775, but it needs clean up to support both gopls and the compiler. |
This was referenced Jan 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
gopls/telemetry-wins
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Issue created by stacks.
This stack
PrtfKQ
was reported by telemetry:crash/crash
runtime.gopanic:+69
go/types.(*Checker).handleBailout:+7
go/types.(*Checker).Files.deferwrap1:+0
runtime.gopanic:+50
go/types.setDefType:+7
go/types.(*Checker).typInternal:+175
go/types.(*Checker).definedType:+1
go/types.(*Checker).typeDecl:+55
go/types.(*Checker).objDecl:+141
go/types.(*Checker).packageObjects:+59
go/types.(*Checker).checkFiles:+29
go/types.(*Checker).Files:+13
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+73
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1
cc @timothy-king
Dups: FBA0bw RBzqiQ ucULZw Ct75kw kiWqdA NSTQeg fHIAHw --O60g LRZG_A
The text was updated successfully, but these errors were encountered: