[commit: ghc] master: Add -fdefer-out-of-scope-variables flag (#12170). (75321ff)
git at git.haskell.org
git at git.haskell.org
Wed Aug 31 20:35:17 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/75321ffa25ad377fa200485a7d58ad32a87e7d65/ghc
>---------------------------------------------------------------
commit 75321ffa25ad377fa200485a7d58ad32a87e7d65
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
>---------------------------------------------------------------
75321ffa25ad377fa200485a7d58ad32a87e7d65
compiler/main/DynFlags.hs | 7 ++++
compiler/typecheck/TcErrors.hs | 40 +++++++++++++++++-----
docs/users_guide/8.2.1-notes.rst | 3 ++
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 ++++++++++-
12 files changed, 102 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 75321ffa25ad377fa200485a7d58ad32a87e7d65
More information about the ghc-commits
mailing list