diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/using.xml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index ed276a4fb8..2c5217b40d 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -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> |