Commit 4eb02c17 authored by pcapriotti's avatar pcapriotti

Update documentation for -fwarn-dodgy-imports.

parent 3d7c81a4
......@@ -1164,10 +1164,19 @@ foreign import "&f" f :: FunPtr t
<listitem>
<indexterm><primary><option>-fwarn-dodgy-imports</option></primary>
</indexterm>
<para>Causes a warning to be emitted when a datatype
<literal>T</literal> is imported
with all constructors, i.e. <literal>T(..)</literal>, but has been
exported abstractly, i.e. <literal>T</literal>.</para>
<para>Causes a warning to be emitted in the following cases:</para>
<itemizedlist>
<listitem>
<para>When a datatype <literal>T</literal> is imported with all
constructors, i.e. <literal>T(..)</literal>, but has been
exported abstractly, i.e. <literal>T</literal>.
</para>
</listitem>
<listitem>
<para>When an <literal>import</literal> statement hides an
entity that is not exported.</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
......
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