-
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
cmd/compile: type assertion panic in types2.(*Checker).instantiatedType (1.24rc1) #71250
Labels
BugReport
Issues describing a possible bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
compiler/telemetry-wins
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
Comments
prattmic
added
compiler/runtime
Issues related to the Go compiler and/or runtime.
compiler/telemetry-wins
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
labels
Jan 13, 2025
gabyhelp
added
the
BugReport
Issues describing a possible bug in the Go implementation.
label
Jan 13, 2025
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
BugReport
Issues describing a possible bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
compiler/telemetry-wins
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Issue created by stacks.
This stack
SiR3fA
was reported by telemetry:compile/bug
cmd/compile/internal/base.FatalfAt:+3
cmd/compile/internal/base.Fatalf:=195
cmd/compile/internal/gc.handlePanic:+7
runtime.gopanic:+50
cmd/compile/internal/types2.(*Checker).handleBailout:+7
runtime.gopanic:+50
runtime.getitab:=102
runtime.typeAssert:+7
cmd/compile/internal/types2.(*Checker).instantiatedType:+38
cmd/compile/internal/types2.(*Checker).typInternal:+60
cmd/compile/internal/types2.(*Checker).definedType:+1
cmd/compile/internal/types2.(*Checker).typ:=152
cmd/compile/internal/types2.(*Checker).compositeLit:+17
cmd/compile/internal/types2.(*Checker).exprInternal:+38
cmd/compile/internal/types2.(*Checker).rawExpr:+10
cmd/compile/internal/types2.(*Checker).genericExpr:+1
This crash is a type assertion failure at https://cs.opensource.google/go/go/+/refs/tags/go1.24rc1:src/cmd/compile/internal/types2/typexpr.go;l=480;drc=b631b8e674195f6cdeca363ccb01279f14b10f13
This type assertion is new in 1.24 (https://go.dev/cl/615275), so I am tentatively marking this a release blocker.
cc @griesemer @golang/compiler
Dups: 5UTERQ DeGb4g 9o-X9Q LUaCHQ 3uw3Qw NKGM6Q
The text was updated successfully, but these errors were encountered: