summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3102.stderr
blob: 1d4348ed124ec07a2970d5e43a013311ff24b20b (plain)
1
2
3
4
5
6
7
8
9

T3102.hs:11:12:
    Couldn't match type ‛a’ with ‛(?p::Int) => a0’
      ‛a’ is a rigid type variable bound by
          a type expected by the context: a -> String at T3102.hs:11:10
    Expected type: a -> String
      Actual type: ((?p::Int) => a0) -> String
    In the first argument of ‛f’, namely ‛t’
    In the expression: f t