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

RepPolyDoBody2.hs:23:3: error:
    • The second argument to (>>),
      arising from the ‘do’ statement,
      does not have a fixed runtime representation:
        mb0 :: TYPE rep
    • In a stmt of a 'do' block: undefined :: ()
      In the expression:
        do undefined :: ()
         return ()
      In an equation for ‘foo’:
          foo _
            = do undefined :: ()
               return ()