summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr
blob: cfe5aeb6d07eff933919ef965ccbc0d17db148c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

ExprSigLocal.hs:9:35: warning: [-Wpartial-type-signatures (in -Wdefault)]
    • Found type wildcard ‘_’ standing for ‘a’
      Where: ‘a’ is a rigid type variable bound by
               the inferred type of <expression> :: a -> a
               at ExprSigLocal.hs:9:20-35
    • In an expression type signature: forall a. a -> _
      In the expression: ((\ x -> x) :: forall a. a -> _)
      In an equation for ‘y’: y = ((\ x -> x) :: forall a. a -> _)
    • Relevant bindings include
        y :: b -> b (bound at ExprSigLocal.hs:9:1)

ExprSigLocal.hs:11:21: warning: [-Wpartial-type-signatures (in -Wdefault)]
    • Found type wildcard ‘_’ standing for ‘a’
      Where: ‘a’ is a rigid type variable bound by
               the inferred type of g :: a -> a at ExprSigLocal.hs:12:1-7
    • In the type signature: g :: forall a. a -> _