mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
3e85e23638
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.
9 lines
197 B
Plaintext
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!
|