Idris2/tests/idris2/basic031/expected
2021-02-12 18:37:12 +00:00

12 lines
334 B
Plaintext

1/1: Building erased (erased.idr)
Error: While processing left hand side of nameOf. Can't match on Bool (Erased argument).
erased.idr:7:17--7:21
3 | MyJust : a -> MyMaybe a
4 |
5 | -- Should fail since type argument is deleted
6 | nameOf : Type -> String
7 | nameOf (MyMaybe Bool) = "MyMaybe Bool"
^^^^