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

[project @ 1997-09-09 18:08:11 by sof]

parent 2ea586ce
No related merge requests found
......@@ -30,7 +30,7 @@ import Maybes ( catMaybes )
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
......@@ -109,9 +109,9 @@ lintCoreBindings whoDunnit spec_done binds
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}
......
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