Skip to content

Union types and case constructions don't interact correctly #47

Description

@turion

test_case_1 and test_case_2 in test/ex_type/checker_test_case.ex don't succeed because union types and case constructions don't yet work properly. For a case expression to typecheck correctly, one has to subtract the types of the previous cases from the union for further cases.

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