Commit 40df2540 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Document -fwarn-missing-local-sigs; part of #4817

parent 11b33eae
......@@ -1179,6 +1179,13 @@
<entry><option>-fno-warn-missing-signatures</option></entry>
</row>
<row>
<entry><option>-fwarn-missing-local-sigs</option></entry>
<entry>warn about polymorphic local bindings without signatures</entry>
<entry>dynamic</entry>
<entry><option>-fno-warn-missing-local-sigs</option></entry>
</row>
<row>
<entry><option>-fwarn-name-shadowing</option></entry>
<entry>warn when names are shadowed</entry>
......
......@@ -1372,6 +1372,20 @@ module M where
</listitem>
</varlistentry>
<varlistentry>
<term><option>-fwarn-missing-local-sigs</option>:</term>
<listitem>
<indexterm><primary><option>-fwarn-missing-local-sigs</option></primary></indexterm>
<indexterm><primary>type signatures, missing</primary></indexterm>
<para>If you use the
<option>-fwarn-missing-local-sigs</option> flag GHC will warn
you about any polymorphic local bindings. As part of
the warning GHC also reports the inferred type. The
option is off by default.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-fwarn-name-shadowing</option>:</term>
<listitem>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment