Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/4eb02c17fc814275a4294afe5c9f38eff8c6a489 >--------------------------------------------------------------- commit 4eb02c17fc814275a4294afe5c9f38eff8c6a489 Author: Paolo Capriotti <[email protected]> Date: Sat Aug 25 20:33:36 2012 +0100 Update documentation for -fwarn-dodgy-imports. >--------------------------------------------------------------- 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 ed276a4..2c5217b 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> _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
