Add -fdefer-out-of-scope-variables flag (#12170).
authorEugene Akentyev <ak3ntev@gmail.com>
Wed, 31 Aug 2016 20:02:10 +0000 (16:02 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 31 Aug 2016 20:32:44 +0000 (16:32 -0400)
commit75321ffa25ad377fa200485a7d58ad32a87e7d65
tree966d00c0e2c7441af8b6baa4a0dd409af6be3d99
parentca6d0eb0f7d28b0245abc2b0783141101e51945f
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
12 files changed:
compiler/main/DynFlags.hs
compiler/typecheck/TcErrors.hs
docs/users_guide/8.2.1-notes.rst
docs/users_guide/glasgow_exts.rst
docs/users_guide/using-warnings.rst
testsuite/tests/typecheck/should_compile/T12170b.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/T12170b.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T
testsuite/tests/typecheck/should_fail/T12170a.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/T12170a.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/all.T
utils/mkUserGuidePart/Options/Warnings.hs