import Name ( isLocallyDefined, getSrcLoc, Name{-instance NamedThing-},
NamedThing(..) )
import PprCore
-import Outputable ( PprStyle(..), Outputable(..), pprErrorsStyle, printErrs )
+import Outputable ( PprStyle(..), Outputable(..), pprDumpStyle, printErrs )
import ErrUtils ( doIfSet, ghcExit )
import PprType ( GenType, GenTyVar, TyCon )
import Pretty
display bad_news
= vcat [
text ("*** Core Lint Errors: in result of " ++ whoDunnit ++ " ***"),
- bad_news pprErrorsStyle,
+ bad_news pprDumpStyle,
ptext SLIT("*** Offending Program ***"),
- pprCoreBindings pprErrorsStyle binds,
+ pprCoreBindings pprDumpStyle binds,
ptext SLIT("*** End of Offense ***")
]
\end{code}