Skip to content

Bug: Infinite loop when referring to a non-existent type #4

@alexkeizer

Description

@alexkeizer

If a data type mentions a non-existent type, then rather than throwing an error, or even timing-out, the elaborator seems to get stuck in an infinite loop.

data Foo α where
  | A : NonExistent α → Foo α

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