summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T5287.stderr
blob: 4067522580774ab36bba0ac0f41c64acc581451c (plain)
1
2
3
4
5
6
7

T5287.hs:6:29:
    Ambiguous type variable `oops' in the constraint:
      (A e oops)
        arising from the 'deriving' clause of a data type declaration
    Probable fix: use a 'standalone deriving' declaration instead
    When deriving the instance for (Read (E e))