mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
12 lines
443 B
Plaintext
12 lines
443 B
Plaintext
1/1: Building iftype (iftype.idr)
|
|
Error: While processing right hand side of isInListBad. Can't solve constraint between: if c then "Foo" else "Baz" and if c then "Foo" else "Bar".
|
|
|
|
iftype.idr:15:15--15:19
|
|
11 | isInList = Here
|
|
12 |
|
|
13 | isInListBad : Elem (ABC Bool String (\c => if c then "Foo" else "Bar"))
|
|
14 | [(ABC Bool String (\c => if c then "Foo" else "Baz"))]
|
|
15 | isInListBad = Here
|
|
^^^^
|
|
|