summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T2239.stderr
blob: 5c0403c6f0759a7a96d7bb57f28001b9b55b319d (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

T2239.hs:47:13:
    Couldn't match type `b -> b'
                  with `forall b1. MyEq b1 Bool => b1 -> b1'
    Expected type: (forall b1. MyEq b1 Bool => b1 -> b1) -> b -> b
      Actual type: (b -> b) -> b -> b
    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 type `Bool -> Bool'
                  with `forall b1. b1 ~ Bool => b1 -> b1'
    Expected type: (forall b1. b1 ~ Bool => b1 -> b1) -> b -> b
      Actual type: (b -> b) -> b -> b
    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)