mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
688e5c586c
If we were to turn the whole check off instead of just making it (not incase || isJust (isLHS mode)) then Issue962-case would fail because `c` would get defaulted to `Integer` and not the `Int` that is expected.
11 lines
299 B
Plaintext
11 lines
299 B
Plaintext
1/1: Building Issue962 (Issue962.idr)
|
|
Error: While processing right hand side of foo. Can't find an implementation for FromString (List Char).
|
|
|
|
Issue962.idr:3:3--3:8
|
|
1 | foo : List Char -> ()
|
|
2 | foo cs = case cs of
|
|
3 | "bar" => ()
|
|
^^^^^
|
|
|
|
1/1: Building Issue962-case (Issue962-case.idr)
|