[commit: ghc] ghc-8.0: Add -fdefer-out-of-scope-variables flag (#12170). (661d140)

git at git.haskell.org git at git.haskell.org
Wed Aug 31 23:24:09 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/661d140a198d941e3a1eaec13fbf7bd4406fa3e5/ghc

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

commit 661d140a198d941e3a1eaec13fbf7bd4406fa3e5
Author: Eugene Akentyev <ak3ntev at gmail.com>
Date:   Wed Aug 31 16:02:10 2016 -0400

    Add -fdefer-out-of-scope-variables flag (#12170).
    
    Reviewers: simonpj, thomie, austin, bgamari
    
    Reviewed By: simonpj, thomie, bgamari
    
    Subscribers: simonpj, thomie
    
    Differential Revision: https://phabricator.haskell.org/D2458
    
    GHC Trac Issues: #12170
    
    (cherry picked from commit 75321ffa25ad377fa200485a7d58ad32a87e7d65)


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

661d140a198d941e3a1eaec13fbf7bd4406fa3e5
 compiler/main/DynFlags.hs                          |  7 ++++
 compiler/typecheck/TcErrors.hs                     | 40 +++++++++++++++++-----
 docs/users_guide/glasgow_exts.rst                  | 25 +++++++++-----
 docs/users_guide/using-warnings.rst                | 13 ++++++-
 .../tests/typecheck/should_compile/T12170b.hs      |  5 +++
 .../tests/typecheck/should_compile/T12170b.stderr  |  3 ++
 testsuite/tests/typecheck/should_compile/all.T     |  1 +
 .../should_fail/{T12406.hs => T12170a.hs}          |  4 +--
 .../should_fail/{T12406.stderr => T12170a.stderr}  |  5 +--
 testsuite/tests/typecheck/should_fail/all.T        |  1 +
 utils/mkUserGuidePart/Options/Warnings.hs          | 20 ++++++++++-
 11 files changed, 99 insertions(+), 25 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 661d140a198d941e3a1eaec13fbf7bd4406fa3e5


More information about the ghc-commits mailing list