[commit: ghc] master: Follow defaultErrorHandler change, fixes #7752. (f6e9c26)
Edward Z. Yang
ezyang at MIT.EDU
Fri Mar 8 01:01:41 CET 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/f6e9c261314878e9b5a0ad51edbf31ce0d4ba607
>---------------------------------------------------------------
commit f6e9c261314878e9b5a0ad51edbf31ce0d4ba607
Author: Edward Z. Yang <ezyang at mit.edu>
Date: Thu Mar 7 16:00:28 2013 -0800
Follow defaultErrorHandler change, fixes #7752.
Signed-off-by: Edward Z. Yang <ezyang at mit.edu>
>---------------------------------------------------------------
docs/users_guide/extending_ghc.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/users_guide/extending_ghc.xml b/docs/users_guide/extending_ghc.xml
index 2c7f021..1abe8a8 100644
--- a/docs/users_guide/extending_ghc.xml
+++ b/docs/users_guide/extending_ghc.xml
@@ -90,10 +90,10 @@ data Foo = ...
<programlisting>
import GHC
import GHC.Paths ( libdir )
-import DynFlags ( defaultDynFlags )
+import DynFlags ( defaultLogAction )
main =
- defaultErrorHandler defaultDynFlags $ do
+ defaultErrorHandler defaultLogAction $ do
runGhc (Just libdir) $ do
dflags <- getSessionDynFlags
setSessionDynFlags dflags
More information about the ghc-commits
mailing list