summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/indexed-types/should_fail/T2239.stderr
blob: b8d5fc7a3600a961a227e7b7c77d71af016af334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

T2239.hs:47:13:
    Couldn't match expected type `b -> b'
                with actual type `forall b1. MyEq b1 Bool => b1 -> b1'
    Expected type: (forall b1. MyEq b1 Bool => b1 -> b1) -> b -> b
      Actual type: (forall b1. MyEq b1 Bool => b1 -> b1)
                   -> forall b1. MyEq b1 Bool => b1 -> b1
    In the expression:
        id ::
          (forall b. MyEq b Bool => b -> b)
          -> (forall b. MyEq b Bool => b -> b)
    In an equation for `complexFD':
        complexFD
          = id ::
              (forall b. MyEq b Bool => b -> b)
              -> (forall b. MyEq b Bool => b -> b)

T2239.hs:50:13:
    Couldn't match expected type `b -> b'
                with actual type `forall b1. b1 ~ Bool => b1 -> b1'
    Expected type: (forall b1. b1 ~ Bool => b1 -> b1) -> b -> b
      Actual type: (forall b1. b1 ~ Bool => b1 -> b1)
                   -> forall b1. b1 ~ Bool => b1 -> b1
    In the expression:
        id ::
          (forall b. b ~ Bool => b -> b) -> (forall b. b ~ Bool => b -> b)
    In an equation for `complexTF':
        complexTF
          = id ::
              (forall b. b ~ Bool => b -> b) -> (forall b. b ~ Bool => b -> b)