Idris2/tests/idris2/total/total024/Issue1988.idr
Thomas E. Hansen c7a4fbe40e
[ test ] Add issue#1988 to the test suite
This appears to be fixed now, presumably thanks to PR#3108 or similar.

Closes #1988
2024-03-18 16:37:13 +00:00

15 lines
187 B
Idris

module Issue1988
data D : Type where Abs : (D -> Void) -> D
app : D -> D -> Void
app (Abs f) d = f d
omega : D
omega = Abs (\x => app x x)
total
Omega : Void
Omega = app omega omega