summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolyTuple.stderr
blob: e651dca0fd107b2c8337201ed5563d50f44e198d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

RepPolyTuple.hs:11:9: error:
    • 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