Idris2-boot/tests/idris2/params001/parambad.idr
Edwin Brady c458957bd6 Get correct namespace in parameters blocks
Fixes #132. When getting the names in the block, we need to return the
fully explicit name, because we can't assume they'll all be in the same
namespace as we can have namespaces inside parameters blocks.
2019-10-25 14:03:15 +01:00

8 lines
85 B
Idris

parameters (n:Nat)
namespace X
foo : Bool
foo = True
U : Bool
U = foo