summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T9569a.stderr
blob: 57d44a0f2a0e4e0682ae9416136344dc54e65819 (plain)
1
2
3
4
5
6
7
8

T9569a.hs:10:6: error:
    • Couldn't match type: Int -> Int
                     with: forall a. a -> a
      Expected: (forall a. a -> a) -> Int
        Actual: (Int -> Int) -> Int
    • In the expression: g
      In an equation for ‘f1’: f1 = g