summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolySum.stderr
blob: 88cb9978ccd152a6acb6aacfc3198f97f7dc2716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

RepPolySum.hs:11:9: error: [GHC-55287]
    • The unboxed sum does not have a fixed runtime representation.
      Its type is:
        (# Int# | a #) :: TYPE (SumRep [IntRep, rep])
    • In the expression: (# | bar () #)
      In an equation for ‘foo’:
          foo _
            = (# | bar () #)
            where
                bar :: () -> a
                bar _ = undefined

RepPolySum.hs:20:9: error: [GHC-55287]
    • The unboxed sum does not have a fixed runtime representation.
      Its type is:
        (# Int# | a #) :: TYPE (SumRep [IntRep, rep])
    • In the expression: (# 17# | #)
      In an equation for ‘baz’: baz _ = (# 17# | #)