Idris2/tests/idris2/record009/expected
Edwin Brady 26cdfc7830 Make records work in parameter blocks
This involves making 'unelab' aware of nested names so that it can
remove the parameters from names in the current block. It's a bit of a
hacky solution, but it is also the easiest one.
Ideally we'd build the getter types directly, rather than using unelab,
but that's one to save for another time.
Fixes #1482
2021-07-10 18:12:44 +01:00

7 lines
220 B
Plaintext

1/1: Building record (record.idr)
Main> Main.Bar : Nat -> Type
Main> Main.Bar.Gnu : (X : Nat) -> Bar X -> Foo X
Main> Main.Baz : (X : Nat) -> Foo X -> Nat
Main> Main.Quux : (X : Nat) -> Bar X -> Foo X
Main> Bye for now!