Skip to content

ConstraintSolver::unblock encountered a self-bound type! on incomplete source code #2157

@JohnnyMorganz

Description

@JohnnyMorganz
type function application
type T = add<T, number>

type T = index<{x: T}, "x">

The above incomplete source code triggers ConstraintSolver::unblock encountered a self-bound type! error message during type checking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions