Skip to content

types2, go/types: infinite loop typechecking (invalid) recursive generic struct #48951

Closed
@mdempsky

Description

@mdempsky

This package sends the type checker into an infinite loop:

package x
type A[T any] struct { x A[*T] }

/cc @griesemer @findleyr

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions