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

RepPolyDoBind.hs:26:3: error:
    • The first argument to (>>=),
      arising from the ‘do’ statement,
      does not have a fixed runtime representation.
      Its type is:
        ma0 :: TYPE rep
    • In a stmt of a 'do' block: a <- undefined
      In the expression:
        do a <- undefined
           return ()
      In an equation for ‘foo’:
          foo _
            = do a <- undefined
                 return ()