Idris2/tests/idris2/record014/Issue1404.idr
Balazs Komuves c3ec522077
[ fix #1404 ] Totality annotation for data type definitions (#2179)
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
Co-authored-by: stefan-hoeck <hock@zhaw.ch>
2021-12-08 16:08:26 +00:00

7 lines
102 B
Idris

total
record Bar where
constructor MkBar
good : (Int -> Int) -> Bar
bad : (Bar -> Int) -> Bar