[commit: ghc] ghc-8.0: compiler: Do not suggest nor complete deprecated flags fix trac issue #11454 (9b0ffd4)

git at git.haskell.org git at git.haskell.org
Thu Feb 11 15:30:35 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/9b0ffd4cbd57afd3b7ee2581cacf0943e744ad9b/ghc

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

commit 9b0ffd4cbd57afd3b7ee2581cacf0943e744ad9b
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
    
    (cherry picked from commit 46af6835ac68d104ee56c29afdfa523c165db2fb)


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

9b0ffd4cbd57afd3b7ee2581cacf0943e744ad9b
 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 9b0ffd4cbd57afd3b7ee2581cacf0943e744ad9b


More information about the ghc-commits mailing list