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

RepPolyTuple.hs:11:9: error: [GHC-55287]
    • • The tuple argument in third position
        does not have a fixed runtime representation.
        Its type is:
          a :: TYPE r
      • The tuple argument in second position
        does not have a fixed runtime representation.
        Its type is:
          a :: TYPE r
      • The tuple argument in first position
        does not have a fixed runtime representation.
        Its type is:
          a :: TYPE r
    • In the expression: (# bar (), bar (), bar () #)
      In an equation for ‘foo’:
          foo _
            = (# bar (), bar (), bar () #)
            where
                bar :: forall (r :: RuntimeRep) (a :: TYPE r). () -> a
                bar _ = undefined