Idris2/tests/idris2/linear002/expected
Raoul Hidalgo Charman 3e85e23638
Namespace checks for resugaring (#1161)
This avoids resugaring to the wrong type when there are user defined
symbols which conflicts with builtins such as Pair.

Changed the test linear002 which was relying on this behaviour for a
user defined Unit.

Fixes #634.
2021-03-15 13:34:54 +00:00

9 lines
197 B
Plaintext

1/2: Building Stuff (Stuff.idr)
2/2: Building Door (Door.idr)
Main> 0 m : Type -> Type
0 d : Door Closed
1 d' : Door Open
------------------------------
foo : Use Many m Unit
Main> Bye for now!