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

T5287.hs:6:10:
    Could not deduce (A a oops0)
      arising from the ambiguity check for an instance declaration
    from the context (A a oops)
      bound by an instance declaration: A a oops => Read (D a)
      at T5287.hs:6:10-31
    The type variable `oops0' is ambiguous
    In the ambiguity check for: forall a oops. A a oops => Read (D a)
    In the instance declaration for `Read (D a)'