-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.gopls/telemetry-winsrelease-blocker
Milestone
Description
#!stacks
"runtime.typeAssert" && "go/types.(*Checker).instantiatedType:+38"
Issue created by stacks.
func (check *Checker) instantiatedType(ix *indexedExpr, def *TypeName) (res Type) {
...
// create instance
// The instance is not generic anymore as it has type arguments, but it still
// satisfies the genericType interface because it has type parameters, too.
inst := check.instance(ix.Pos(), gtyp, targs, nil, check.context()).(genericType)
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
golang.org/x/tools/gopls@v0.17.1 go1.24rc1 linux/amd64 vscode (10)
cc: @griesemer @findleyr
Dups: HNc-0g sRb2ZQ caAKMA ubM70w f0cr5w -B6Zow aGFSSA OhNcBw sk-sbA Fv9t1w
Metadata
Metadata
Assignees
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.gopls/telemetry-winsrelease-blocker
Type
Projects
Status
Done