Skip to content

go/types, types2: panic with mutually recursive unnamed (alias) type constraints #76078

@griesemer

Description

@griesemer

This program panics during type checking (playground):

package main

func main() {
}

type (
	F[P G[P]] = interface{}
	G[P F[P]] = interface{}
)

Metadata

Metadata

Labels

BugReportIssues describing a possible bug in the Go implementation.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions