Idris2-boot/tests/idris2/reg012/Foo.idr
Edwin Brady cbf8785d32 Take account of env in record elaboration
Also need to make sure that the constructor and fields are included in
the nested names so that the parameters get expanded properly.
Fixes #138
2020-03-19 12:12:25 +00:00

10 lines
133 B
Idris

import Data.Vect
parameters (len : Nat)
record Foo where
constructor Bar
Gnat : Vect len Nat
foo : Foo 1
foo = Bar _ [0]