Skip to content

Dependency Error in Type Checking Pattern Matches #8

@ggeier

Description

@ggeier
g x =
     x ~ a U b : a
     otherwise: x;

produces with tslcheck:

"Dependency Error" (line 2, column 9 - 10):
detected circular dependencies between:
  a (defined at line 2, column 9 - 10)
  b (defined at line 2, column 13 - 14)

As it is parsed, the foundation for the pattern match is layed, however it does not type check correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions