Idris2/tests/idris2/data/record012/Issue2065.idr

10 lines
121 B
Idris
Raw Normal View History

%prefix_record_projections off
data T : Nat -> Type where
MkT : (n : Nat) -> T n
record R where
n : Nat
x : T n