mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 12:42:02 +03:00
12 lines
439 B
Plaintext
12 lines
439 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: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
|
|
^^^^
|
|
|