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

RepPolyCase2.hs:33:7: error:
    • 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 _ -> ()