mirror of
https://github.com/anoma/juvix.git
synced 2024-11-30 14:13:27 +03:00
694d46fb4f
- This PR adds a temporary compiler error for when the bug #2247 happens. We do not have plans to fix this bug until we move the typechecker to Core, so it makes sense to add a better error message.
9 lines
225 B
Plaintext
9 lines
225 B
Plaintext
-- Once https://github.com/anoma/juvix/issues/2247 is fixed, this should be moved to positive tests
|
|
module test006;
|
|
|
|
type Box (A : Type) :=
|
|
| box : A → Box A;
|
|
|
|
x : Box ((B : Type) → B → B) :=
|
|
box {_} λ {C x := x};
|