summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr
blob: f59ab4d6c904862dbb6d62f934582dfa2671b808 (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
54
55
56
57

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

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

TidyClash2.hs:14:13: error:
    • Found type wildcard ‘_’ standing for ‘t2’
      Where: ‘t2’ is a rigid type variable bound by
               the inferred type of barry :: t2 -> t1 -> t at TidyClash2.hs:14:1
      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 :: t2 -> t1 -> t (bound at TidyClash2.hs:14:1)

TidyClash2.hs:14:22: error:
    • Found type wildcard ‘_’ standing for ‘t1’
      Where: ‘t1’ is a rigid type variable bound by
               the inferred type of barry :: t2 -> t1 -> t at TidyClash2.hs:14:1
      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 :: t2 (bound at TidyClash2.hs:14:8)
        barry :: t2 -> t1 -> t (bound at TidyClash2.hs:14:1)

TidyClash2.hs:14:40: error:
    • Found type wildcard ‘_’ standing for ‘t3’
      Where: ‘t3’ is a rigid type variable bound by
               the inferred type of <expression> :: t3 at TidyClash2.hs:14:27
      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 :: t1 (bound at TidyClash2.hs:14:17)
        x :: t2 (bound at TidyClash2.hs:14:8)
        barry :: t2 -> t1 -> t (bound at TidyClash2.hs:14:1)