mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
7de9f2f0f3
This PR fixes our positivity checker to support inductive definitions with type families as type parameters. This kind of ind. type is type-checked using the global flag `--new-type checker.` For example, the following definition is not allowed: ``` module Evil; type Evil (f : Type -> Type) := magic : f (Evil f) -> Evil f; ``` - Closes #2540 |
||
---|---|---|
.. | ||
Negative.hs | ||
NegativeNew.hs | ||
Positive.hs | ||
PositiveNew.hs |