-
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: failed genericType assertion in Checker.instantiatedType #71198
Comments
The bug is that All crashes are with the rc1, indicating that this is a regression. Marking as a release blocker. CC @griesemer |
Repro: https://go.dev/play/p/77Rx2onG7rT?v=gotip
|
I will take this one on. Thanks for reporting. |
Change https://go.dev/cl/641857 mentions this issue: |
Issue created by stacks.
This stack
aEVlDg
was reported by telemetry:crash/crash
runtime.gopanic:+69
go/types.(*Checker).handleBailout:+7
go/types.(*Checker).Files.deferwrap1:+0
runtime.gopanic:+50
runtime.getitab:+58
runtime.typeAssert:+7
go/types.(*Checker).instantiatedType:+38
go/types.(*Checker).typInternal:+61
go/types.(*Checker).definedType:+1
go/types.(*Checker).varType:+1
go/types.(*Checker).varDecl:+5
go/types.(*Checker).declStmt.func1:+56
go/types.(*Checker).walkDecl:+27
go/types.(*Checker).declStmt:+3
go/types.(*Checker).stmt:+23
go/types.(*Checker).stmtList:+9
cc: @griesemer @findleyr
Dups: HNc-0g sRb2ZQ caAKMA ubM70w f0cr5w -B6Zow
The text was updated successfully, but these errors were encountered: