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

T5287.hs:6:29:
    No instance for (A e oops)
      arising from the 'deriving' clause of a data type declaration
    The type variable `oops' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    Possible fix:
      use a standalone 'deriving instance' declaration,
        so you can specify the instance context yourself
    When deriving the instance for (Read (E e))