summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/T15039b.stderr
blob: 949995ddda6865bf4d5a34df54e5cbb2098c8cab (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
 
T15039b.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 T15039b.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 T15039b.hs:19:1)
 
T15039b.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 T15039b.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 T15039b.hs:22:1)
 
T15039b.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)]
    • Found type wildcard ‘_’
        standing for ‘Dict ((a :: *) ~~ (b :: k))’
      Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by
               the type signature for:
                 ex3 :: forall a k (b :: k). Dict ((a :: *) ~~ (b :: k)) -> ()
               at T15039b.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 :: k)) -> () (bound at T15039b.hs:25:1)
 
T15039b.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 T15039b.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 T15039b.hs:33:1)
 
T15039b.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 T15039b.hs:36:1-14
    • In the type signature:
        ex7 :: _ => Coercion (a :: Type) (b :: Type)