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

tcfail200.hs:5:15: error: [GHC-18872]
    • 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)