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

tcfail123.hs:11:9: error:
    • Couldn't match a lifted type with an unlifted type
      When matching types
        p0 :: *
        GHC.Prim.Int# :: TYPE 'GHC.Types.IntRep
    • In the first argument of ‘f’, namely ‘3#’
      In the expression: f 3#
      In an equation for ‘h’: h v = f 3#