summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T8851.stderr
blob: c4bfff355944ca18986fe97c00a190b09391a462 (plain)
1
2
3
4
5
6
7
8
9
10
11

T8851.hs:25:12: error:
    • Couldn't match type ‘Parser’ with ‘MyParser’
        arising from the coercion of the method ‘notFollowedBy’
          from type ‘forall a.
                     (Monad Parser, Show a) =>
                     Parser a -> Parser ()’
            to type ‘forall a.
                     (Monad MyParser, Show a) =>
                     MyParser a -> MyParser ()’
    • When deriving the instance for (Parsing MyParser)