summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_fail/T13233.stderr
blob: 08f1f62a88fdf2b0e7237328c27112a6a1180608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

T13233.hs:14:11: error:
    Cannot use function with levity-polymorphic arguments:
      GHC.Prim.(#,#) :: a -> a -> (# a, a #)
    Levity-polymorphic arguments:
      a :: TYPE rep
      a :: TYPE rep

T13233.hs:22:16: error:
    Cannot use function with levity-polymorphic arguments:
      GHC.Prim.(#,#) :: forall (rep1 :: RuntimeRep) (rep2 :: RuntimeRep)
                               (a :: TYPE rep1) (b :: TYPE rep2).
                        a -> b -> (# a, b #)
    Levity-polymorphic arguments:
      a :: TYPE rep1
      b :: TYPE rep2