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

T8851.hs:24: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)