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

tcfail200.hs:5:15: error:
    • Couldn't match a lifted type with an unlifted type
      When matching types
        a1 :: *
        GHC.Prim.Int# :: TYPE 'GHC.Types.IntRep
    • In the expression: 1#
      In the expression: (1#, 'c')
      In an equation for ‘x’: x = (1#, 'c')
    • Relevant bindings include
        x :: (a1, Char) (bound at tcfail200.hs:5:9)