Idris2/tests/idris2/basic031/expected

12 lines
330 B
Plaintext
Raw Normal View History

1/1: Building erased (erased.idr)
Error: While processing left hand side of nameOf. Can't match on Bool (Erased argument).
erased:7:17--7:21
2021-02-11 20:24:26 +03:00
3 | MyJust : a -> MyMaybe a
4 |
5 | -- Should fail since type argument is deleted
6 | nameOf : Type -> String
2020-07-22 22:16:43 +03:00
7 | nameOf (MyMaybe Bool) = "MyMaybe Bool"
2021-02-11 20:24:26 +03:00
^^^^