summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr
blob: 00c3874a4ba1109377da07a53e25dceca242e718 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

TidyClash2.hs:13:20: error:
    • Found type wildcard ‘_’ standing for ‘w1’
      Where: ‘w1’ is a rigid type variable bound by
               the inferred type of barry :: w1 -> w -> t at TidyClash2.hs:14:1-40
      To use the inferred type, enable PartialTypeSignatures
    • In the type signature: barry :: forall t. _ -> _ -> t

TidyClash2.hs:13:25: error:
    • Found type wildcard ‘_’ standing for ‘w’
      Where: ‘w’ is a rigid type variable bound by
               the inferred type of barry :: w1 -> w -> t at TidyClash2.hs:14:1-40
      To use the inferred type, enable PartialTypeSignatures
    • In the type signature: barry :: forall t. _ -> _ -> t

TidyClash2.hs:14:13: error:
    • Found type wildcard ‘_’ standing for ‘w1’
      Where: ‘w1’ is a rigid type variable bound by
               the inferred type of barry :: w1 -> w -> t at TidyClash2.hs:14:1-40
      To use the inferred type, enable PartialTypeSignatures
    • In a pattern type signature: _
      In the pattern: x :: _
      In an equation for ‘barry’:
          barry (x :: _) (y :: _) = undefined :: _
    • Relevant bindings include
        barry :: w1 -> w -> t (bound at TidyClash2.hs:14:1)

TidyClash2.hs:14:22: error:
    • Found type wildcard ‘_’ standing for ‘w’
      Where: ‘w’ is a rigid type variable bound by
               the inferred type of barry :: w1 -> w -> t at TidyClash2.hs:14:1-40
      To use the inferred type, enable PartialTypeSignatures
    • In a pattern type signature: _
      In the pattern: y :: _
      In an equation for ‘barry’:
          barry (x :: _) (y :: _) = undefined :: _
    • Relevant bindings include
        x :: w1 (bound at TidyClash2.hs:14:8)
        barry :: w1 -> w -> t (bound at TidyClash2.hs:14:1)

TidyClash2.hs:14:40: error:
    • Found type wildcard ‘_’ standing for ‘w2’
      Where: ‘w2’ is a rigid type variable bound by
               the inferred type of <expression> :: w2 at TidyClash2.hs:14:40
      To use the inferred type, enable PartialTypeSignatures
    • In an expression type signature: _
      In the expression: undefined :: _
      In an equation for ‘barry’:
          barry (x :: _) (y :: _) = undefined :: _
    • Relevant bindings include
        y :: w (bound at TidyClash2.hs:14:17)
        x :: w1 (bound at TidyClash2.hs:14:8)
        barry :: w1 -> w -> t (bound at TidyClash2.hs:14:1)