Skip to content

go/types, types2: panic with generic alias #75897

@griesemer

Description

@griesemer

The following code:

type T[P T[P]] = int

leads to a panic in the type checker. This requires tip allowing cycles through type parameters.

Metadata

Metadata

Labels

compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions