Skip to content

cmd/compile: panics with generic type alias and based-on constraint #68580

@splace

Description

@splace

Go version

1.23rc1

Output of go env in your module/workspace:

n/a

What did you do?

https://go.dev/play/p/kMvT8_f91aK?v=gotip

What did you see happen?

: internal compiler error: panic: /usr/local/go/src/cmd/compile/internal/types2/subst.go:56: assertion failed

etc.

What did you expect to see?

no panic

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions