Idris2/tests/idris2/positivity002/Issue660.idr

16 lines
237 B
Idris
Raw Normal View History

module Issue660
%default total
%logging declare.data.parameters 20
data C : Type -> Type where
MkC : List a -> C a
data D : Type -> Type where
MkD : {0 a : Type} -> let 0 b = List a in b -> D a
2020-12-07 13:45:48 +03:00
%logging off
data E : Type where