Skip to content

Crash while compiling creation of infinite type #37

@s15n

Description

@s15n
type Inf = recursive either { .next self }

type U = recursive either { .u! }
def u: U = .u!

def inf: Inf = u unfounded begin {
  .u! => .next u loop
}

crashes the playground when trying to compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions