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

tcfail159.hs:9:11: error: [GHC-83865]
    • Couldn't match a lifted type with an unlifted type
      Expected: *
        Actual: TYPE
                  (GHC.Types.TupleRep [GHC.Types.LiftedRep, GHC.Types.LiftedRep])
    • In the pattern: ~(# p, q #)
      In a case alternative: ~(# p, q #) -> p
      In the expression: case h x of ~(# p, q #) -> p