Skip to content

Commit

Permalink
Update documentation for -fwarn-dodgy-imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcapriotti committed Aug 25, 2012
1 parent 3d7c81a commit 4eb02c1
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions docs/users_guide/using.xml
Expand Up @@ -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>

Expand Down

0 comments on commit 4eb02c1

Please sign in to comment.