Skip to content
Snippets Groups Projects
Commit e43e83f4 authored by sof's avatar sof
Browse files

[project @ 1997-09-04 20:08:30 by sof]

ppr wibble
parent 3effaf6c
No related merge requests found
......@@ -52,7 +52,7 @@ import PrelInfo ( builtinNames )
import TyCon ( TyCon {- instance NamedThing -} )
import TysWiredIn ( boolTyCon )
import Pretty
import Outputable ( PprStyle(..) )
import Outputable ( PprStyle(..), printErrs )
import SrcLoc ( SrcLoc, mkGeneratedSrcLoc )
import Unique ( Unique )
import UniqFM ( UniqFM )
......@@ -97,8 +97,7 @@ traceRn msg | opt_D_show_rn_trace = putDocRn msg
| otherwise = returnRn ()
putDocRn :: Doc -> RnMG ()
putDocRn msg = ioToRnMG (hPutStr stderr (show msg) >>
hPutStr stderr "\n") `thenRn_`
putDocRn msg = ioToRnMG (printErrs msg) `thenRn_`
returnRn ()
\end{code}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment