mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
12 lines
334 B
Plaintext
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"
|
|
^^^^
|
|
|