summaryrefslogtreecommitdiff
path: root/docs/users_guide/flags.xml
diff options
context:
space:
mode:
authorEric Seidel <gridaphobe@gmail.com>2014-11-20 22:39:32 -0600
committerAustin Seipp <austin@well-typed.com>2014-11-20 22:39:55 -0600
commit067f1e4f20efc824badbac54da2f9484090cb39b (patch)
treed694cd30f43a1e6f5485b529a487c256b903f0c7 /docs/users_guide/flags.xml
parentf60eeb41ab48e73ea49fba64a745ddc4a6b8c085 (diff)
downloadhaskell-067f1e4f20efc824badbac54da2f9484090cb39b.tar.gz
Add flag `-fwarn-missing-exported-sigs`
Summary: add `-fwarn-missing-exported-sigs` to only warn about missing signatures if the name is exported Test Plan: validate, see testsuite/tests/warnings/should_compile/T2526.hs Reviewers: ezyang, austin, thomie Reviewed By: austin, thomie Subscribers: ezyang, thomie, carter Differential Revision: https://phabricator.haskell.org/D482 GHC Trac Issues: #2526 Conflicts: docs/users_guide/7.10.1-notes.xml
Diffstat (limited to 'docs/users_guide/flags.xml')
-rw-r--r--docs/users_guide/flags.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml
index e8218f7de1..5c5e05e1d9 100644
--- a/docs/users_guide/flags.xml
+++ b/docs/users_guide/flags.xml
@@ -1470,6 +1470,13 @@
</row>
<row>
+ <entry><option>-fwarn-missing-exported-sigs</option></entry>
+ <entry>warn about top-level functions without signatures, only if they are exported. takes precedence over -fwarn-missing-signatures</entry>
+ <entry>dynamic</entry>
+ <entry><option>-fno-warn-missing-exported-sigs</option></entry>
+ </row>
+
+ <row>
<entry><option>-fwarn-missing-local-sigs</option></entry>
<entry>warn about polymorphic local bindings without signatures</entry>
<entry>dynamic</entry>