Skip to content

Checking constraints #5

@jkarni

Description

@jkarni

With:

t :: ('True ~ 'False) => Int
t = 5

shouldNotTypeCheck t fails (i.e., the test fails with "Expected expression to not compile but it did compile"). I see why this happens (deferring the type error happens to not cause an error), but the expression does not actually compile.

I can't say I know how this could be fixed...

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