summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail046.stderr
blob: 1b668d07a6c8f180a43949df9cf34fe74a582e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

tcfail046.hs:10:50:
    No instance for (Eq (Process a))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      add an instance declaration for (Eq (Process a))
      or use a standalone 'deriving instance' declaration,
           so you can specify the instance context yourself
    When deriving the instance for (Eq (Continuation a))

tcfail046.hs:22:25:
    No instance for (Eq (Process a))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      add an instance declaration for (Eq (Process a))
      or use a standalone 'deriving instance' declaration,
           so you can specify the instance context yourself
    When deriving the instance for (Eq (Message a))