Idris2/tests/idris2/error017/expected
Guillaume ALLAIS 688e5c586c [ test ] Note that we cannot turn the whole check off
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.
2021-04-16 18:12:40 +01:00

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)