1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-04 06:23:13 +03:00
juvix/tests/positive/HoleTypeParameter.juvix
Jan Mas Rovira 76b58f090f
Fix for crash with wildcard used in type definition (#2405)
- Closes #2292.

Holes are now allowed in the type of inductive parameters.
If the type is unsupported, a user error is thrown.
2023-10-02 18:58:21 +02:00

6 lines
81 B
Plaintext

module HoleTypeParameter;
type List' (A : _) :=
| nil'
| cons' A (List' A);