summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T10781.hs
blob: 9991c947749922a2ea4770e915249b149f931ff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module T10781 where
{- ghc-7.10.2 reported:

T10781.hs:6:5:
    Found hole ‘_name’ with type: t
    Where: ‘t’ is a rigid type variable bound by
               the inferred type of f :: t at T10781.hs:6:1
    Relevant bindings include f :: t (bound at T10781.hs:6:1)
    In the expression: Foo._name
    In an equation for ‘f’: f = Foo._name
-}
f = Foo._name