[project @ 2002-12-10 15:42:19 by simonpj]
authorsimonpj <unknown>
Tue, 10 Dec 2002 15:42:19 +0000 (15:42 +0000)
committersimonpj <unknown>
Tue, 10 Dec 2002 15:42:19 +0000 (15:42 +0000)
Wibble

ghc/compiler/rename/RnExpr.lhs

index e8e3f4f..c4ddc27 100644 (file)
@@ -911,7 +911,7 @@ doStmtListErr do_or_lc e
                        other   -> "do"
 
 #ifdef GHCI 
-checkTH e what = returnRn ()   -- OK
+checkTH e what = returnM ()    -- OK
 #else
 checkTH e what         -- Raise an error in a stage-1 compiler
   = addErr (vcat [ptext SLIT("Template Haskell") <+> text what <+>