[commit: ghc] master: Use correct documentation flag for freverse-errors (d1d8704)

git at git.haskell.org git at git.haskell.org
Tue Oct 27 14:06:24 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d1d8704cb3d003315177fad1394fce49f98fb1a2/ghc

>---------------------------------------------------------------

commit d1d8704cb3d003315177fad1394fce49f98fb1a2
Author: Siddhanathan Shanmugam <siddhanathan at gmail.com>
Date:   Tue Oct 27 15:08:41 2015 +0100

    Use correct documentation flag for freverse-errors
    
    Reviewers: austin, thomie, bgamari
    
    Reviewed By: bgamari
    
    Differential Revision: https://phabricator.haskell.org/D1376
    
    GHC Trac Issues: #10848


>---------------------------------------------------------------

d1d8704cb3d003315177fad1394fce49f98fb1a2
 compiler/main/DynFlags.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 4af16cf..7794145 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -2402,9 +2402,9 @@ dynamic_flags = [
                                      deprecate "Use -fno-force-recomp instead"))
   , defGhcFlag "no-recomp" (NoArg (do setGeneralFlag Opt_ForceRecomp
                                       deprecate "Use -fforce-recomp instead"))
-  , defGhcFlag "freverse-errors"
+  , defFlag "freverse-errors"
       (noArg (\d -> d {reverseErrors = True} ))
-  , defGhcFlag "fno-reverse-errors"
+  , defFlag "fno-reverse-errors"
       (noArg (\d -> d {reverseErrors = False} ))
 
         ------ HsCpp opts ---------------------------------------------------



More information about the ghc-commits mailing list