summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T10267.stderr
blob: 6ebda88797edbedf180c3ccf0dcec766d3b89a98 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

T10267.hs:8:1: error:
    • Found hole: _ :: a
      Where: ‘a’ is a rigid type variable bound by
               the type signature for:
                 j :: forall a. a -> a
               at T10267.hs:(8,1)-(12,14)
    • In the expression: _
      In an equation for ‘j’: j x = _
    • Relevant bindings include
        x :: a (bound at T10267.hs:8:1)
        j :: a -> a (bound at T10267.hs:8:1)
      Valid substitutions include
        undefined :: forall a. GHC.Stack.Types.HasCallStack => a
          (imported from ‘Prelude’ at T10267.hs:3:8-13
           (and originally defined in ‘GHC.Err’))

T10267.hs:8:1: error:
    • Found hole: _foo :: a -> a
      Where: ‘a’ is a rigid type variable bound by
               the type signature for:
                 i :: forall a. a -> a
               at T10267.hs:(8,1)-(12,14)
      Or perhaps ‘_foo’ is mis-spelled, or not in scope
    • In the expression: _foo
      In an equation for ‘i’: i = _foo
    • Relevant bindings include i :: a -> a (bound at T10267.hs:8:1)
      Valid substitutions include
        j :: forall a. a -> a (defined at T10267.hs:8:1)
        i :: forall a. a -> a (defined at T10267.hs:8:1)
        k :: forall a. a -> a (defined at T10267.hs:14:3)
        l :: forall a. a -> a (defined at T10267.hs:23:3)
        foo :: forall a. a -> a (defined at T10267.hs:33:1)
        id :: forall a. a -> a
          (imported from ‘Prelude’ at T10267.hs:3:8-13
           (and originally defined in ‘GHC.Base’))
        undefined :: forall a. GHC.Stack.Types.HasCallStack => a
          (imported from ‘Prelude’ at T10267.hs:3:8-13
           (and originally defined in ‘GHC.Err’))

T10267.hs:14:3: error:
    • Found hole: _foo :: a -> a
      Where: ‘a’ is a rigid type variable bound by
               the type signature for:
                 k :: forall a. a -> a
               at T10267.hs:(14,3)-(21,2)
      Or perhaps ‘_foo’ is mis-spelled, or not in scope
    • In the expression: _foo
      In an equation for ‘k’: k = _foo
    • Relevant bindings include k :: a -> a (bound at T10267.hs:14:3)
      Valid substitutions include
        j :: forall a. a -> a (defined at T10267.hs:8:1)
        i :: forall a. a -> a (defined at T10267.hs:8:1)
        k :: forall a. a -> a (defined at T10267.hs:14:3)
        l :: forall a. a -> a (defined at T10267.hs:23:3)
        foo :: forall a. a -> a (defined at T10267.hs:33:1)
        id :: forall a. a -> a
          (imported from ‘Prelude’ at T10267.hs:3:8-13
           (and originally defined in ‘GHC.Base’))
        undefined :: forall a. GHC.Stack.Types.HasCallStack => a
          (imported from ‘Prelude’ at T10267.hs:3:8-13
           (and originally defined in ‘GHC.Err’))

T10267.hs:23:3: error:
    • Found hole: _ :: a
      Where: ‘a’ is a rigid type variable bound by
               the type signature for:
                 l :: forall a. a -> a
               at T10267.hs:(23,3)-(30,2)
    • In the expression: _
      In an equation for ‘l’: l x = _
    • Relevant bindings include
        x :: a (bound at T10267.hs:23:3)
        l :: a -> a (bound at T10267.hs:23:3)
      Valid substitutions include
        undefined :: forall a. GHC.Stack.Types.HasCallStack => a
          (imported from ‘Prelude’ at T10267.hs:3:8-13
           (and originally defined in ‘GHC.Err’))