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

T7148a.hs:19:50: error:
    • Couldn't match representation of type ‘b’
                               with that of ‘Result a b’
        arising from the coercion of the method ‘coerce’
          from type ‘forall b. Proxy b -> a -> Result a b’
            to type ‘forall b.
                     Proxy b -> IS_NO_LONGER a -> Result (IS_NO_LONGER a) b’
      ‘b’ is a rigid type variable bound by
        the type Proxy b -> a -> Result a b at T7148a.hs:19:50-56
    • When deriving the instance for (Convert (IS_NO_LONGER a))