[commit: ghc] master: compiler: Do not suggest nor complete deprecated flags fix trac issue #11454 (46af683)

git at git.haskell.org git at git.haskell.org
Thu Feb 11 15:00:01 UTC 2016


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

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

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

commit 46af6835ac68d104ee56c29afdfa523c165db2fb
Author: Nikita Kartashov <snailandmail at gmail.com>
Date:   Thu Feb 11 11:58:30 2016 +0100

    compiler: Do not suggest nor complete deprecated flags fix trac issue #11454
    
    Previously, all flags were present in user suggest and completion. This commit
    removes the deprecated ones from there. It is done by saving deprecation info
    at the moment of flag definition.
    
    Reviewers: rwbarton, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1883


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

46af6835ac68d104ee56c29afdfa523c165db2fb
 compiler/main/DynFlags.hs | 1317 ++++++++++++++++++++++++++-------------------
 ghc/GHCi/UI.hs            |    4 +-
 ghc/Main.hs               |    2 +-
 3 files changed, 775 insertions(+), 548 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 46af6835ac68d104ee56c29afdfa523c165db2fb


More information about the ghc-commits mailing list