summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
authorPaolo Capriotti <p.capriotti@gmail.com>2012-08-25 20:33:36 +0100
committerPaolo Capriotti <p.capriotti@gmail.com>2012-08-25 20:33:36 +0100
commit4eb02c17fc814275a4294afe5c9f38eff8c6a489 (patch)
tree029a409af895879f92f59c5d7c9d2803dc99ad1a /docs/users_guide
parent3d7c81a4be00a6d72b321b4811ab316ea3301a60 (diff)
downloadhaskell-4eb02c17fc814275a4294afe5c9f38eff8c6a489.tar.gz
Update documentation for -fwarn-dodgy-imports.
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/using.xml17
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 "&amp;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>