summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/T15039a.stderr
blob: d9c8e1056f4ccf43cd8a48bd1e9a947dd00f574c (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

T15039a.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)]
    • Found type wildcard ‘_’ standing for ‘Dict (a ~ b)’
      Where: ‘a’, ‘b’ are rigid type variables bound by
               the type signature for:
                 ex1 :: forall a b. Dict (a ~ b) -> ()
               at T15039a.hs:18:1-45
    • In a pattern type signature: _
      In the pattern: Dict :: _
      In an equation for ‘ex1’: ex1 (Dict :: _) = ()
    • Relevant bindings include
        ex1 :: Dict (a ~ b) -> () (bound at T15039a.hs:19:1)

T15039a.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)]
    • Found type wildcard ‘_’ standing for ‘Dict (a ~ b)’
      Where: ‘a’, ‘b’ are rigid type variables bound by
               the type signature for:
                 ex2 :: forall a b. Dict (a ~ b) -> ()
               at T15039a.hs:21:1-46
    • In a pattern type signature: _
      In the pattern: Dict :: _
      In an equation for ‘ex2’: ex2 (Dict :: _) = ()
    • Relevant bindings include
        ex2 :: Dict (a ~ b) -> () (bound at T15039a.hs:22:1)

T15039a.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)]
    • Found type wildcard ‘_’ standing for ‘Dict (a ~~ b)’
      Where: ‘a’, ‘b’, ‘k’ are rigid type variables bound by
               the type signature for:
                 ex3 :: forall k a (b :: k). Dict (a ~~ b) -> ()
               at T15039a.hs:24:1-43
    • In a pattern type signature: _
      In the pattern: Dict :: _
      In an equation for ‘ex3’: ex3 (Dict :: _) = ()
    • Relevant bindings include
        ex3 :: Dict (a ~~ b) -> () (bound at T15039a.hs:25:1)

T15039a.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)]
    • Found type wildcard ‘_’ standing for ‘Dict (Coercible a b)’
      Where: ‘a’, ‘b’ are rigid type variables bound by
               the type signature for:
                 ex6 :: forall a b. Dict (Coercible a b) -> ()
               at T15039a.hs:32:1-53
    • In a pattern type signature: _
      In the pattern: Dict :: _
      In an equation for ‘ex6’: ex6 (Dict :: _) = ()
    • Relevant bindings include
        ex6 :: Dict (Coercible a b) -> () (bound at T15039a.hs:33:1)

T15039a.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)]
    • Found type wildcard ‘_’ standing for ‘Coercible a b’
      Where: ‘a’, ‘b’ are rigid type variables bound by
               the inferred type of ex7 :: Coercible a b => Coercion a b
               at T15039a.hs:36:1-14
    • In the type signature:
        ex7 :: _ => Coercion (a :: Type) (b :: Type)