mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 03:01:31 +03:00
12 lines
330 B
Plaintext
12 lines
330 B
Plaintext
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
|
|
3 | MyJust : a -> MyMaybe a
|
|
4 |
|
|
5 | -- Should fail since type argument is deleted
|
|
6 | nameOf : Type -> String
|
|
7 | nameOf (MyMaybe Bool) = "MyMaybe Bool"
|
|
^^^^
|
|
|