summaryrefslogtreecommitdiff
path: root/docs/users_guide/using-warnings.rst
diff options
context:
space:
mode:
authorHE, Tao <sighingnow@gmail.com>2018-02-01 00:30:04 -0500
committerBen Gamari <ben@smart-cactus.org>2018-02-02 10:18:36 -0500
commite31b41bd6abbf08b1463f4ea08c50e8059f06263 (patch)
tree4a664ffe5ae87ddfcb0394febea8e4c96775de71 /docs/users_guide/using-warnings.rst
parentefce943ca20b55b18f948681e6b44fd892dbddd2 (diff)
downloadhaskell-e31b41bd6abbf08b1463f4ea08c50e8059f06263.tar.gz
Flag `-fdefer-typed-holes` also implies `-fdefer-out-of-scope-variables`.
Reviewers: bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4361
Diffstat (limited to 'docs/users_guide/using-warnings.rst')
-rw-r--r--docs/users_guide/using-warnings.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index bd3c41d5d4..8106003f7d 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -239,7 +239,7 @@ of ``-W(no-)*``.
:reverse: -fno-defer-type-errors
:category:
- :implies: :ghc-flag:`-fdefer-typed-holes`
+ :implies: :ghc-flag:`-fdefer-typed-holes`, :ghc-flag:`-fdefer-out-of-scope-variables`
Defer as many type errors as possible until runtime. At compile time
you get a warning (instead of an error). At runtime, if you use a