summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolyCase2.stderr
blob: 1418da126c76009d0c388a61389685e67e344ade (plain)
1
2
3
4
5
6
7
8

RepPolyCase2.hs:33:7: error: [GHC-55287]
    • The scrutinee of the case statement
      does not have a fixed runtime representation.
      Its type is:
        Unbox Int :: TYPE (Rep Int)
    • In the expression: case unbox (3 :: Int) of _ -> ()
      In an equation for ‘x’: x _ = case unbox (3 :: Int) of _ -> ()