summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmMonad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cmm/CmmMonad.hs')
-rw-r--r--compiler/cmm/CmmMonad.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/CmmMonad.hs b/compiler/cmm/CmmMonad.hs
index 821c0a6504..a04c4ad49b 100644
--- a/compiler/cmm/CmmMonad.hs
+++ b/compiler/cmm/CmmMonad.hs
@@ -50,7 +50,7 @@ thenPD :: PD a -> (a -> PD b) -> PD b
(PD m) `thenPD` k = PD $ \d s ->
case m d s of
POk s1 a -> unPD (k a) d s1
- PFailed warnFn span err -> PFailed warnFn span err
+ PFailed s1 -> PFailed s1
failPD :: String -> PD a
failPD = liftP . fail