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

tcfail046.hs:10:50: error:
    No instance for (Eq (Process a))
      arising from the first field of ‘Do’ (type ‘Process a’)
      (maybe you haven't applied a function to enough arguments?)
    Possible fix:
      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: error:
    No instance for (Eq (Process a))
      arising from the first field of ‘Create’ (type ‘Process a’)
      (maybe you haven't applied a function to enough arguments?)
    Possible fix:
      use a standalone 'deriving instance' declaration,
        so you can specify the instance context yourself
    When deriving the instance for (Eq (Message a))