summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJose Pedro Magalhaes <jpm@cs.ox.ac.uk>2013-09-09 11:31:59 +0100
committerJose Pedro Magalhaes <jpm@cs.ox.ac.uk>2013-09-09 11:31:59 +0100
commit9fb15842df6f3db7598b11843c33f761fb44ea87 (patch)
treef8a34c5b14d0086b25c09e51877b61ca612b2e27 /docs
parent2cec084e45392e0b0d198254017b140accee32f0 (diff)
downloadhaskell-9fb15842df6f3db7598b11843c33f761fb44ea87.tar.gz
Remove -fwarn-typeable-instances
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/flags.xml8
-rw-r--r--docs/users_guide/glasgow_exts.xml2
-rw-r--r--docs/users_guide/using.xml14
3 files changed, 1 insertions, 23 deletions
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml
index 1ec1e890ee..0b2e90d36d 100644
--- a/docs/users_guide/flags.xml
+++ b/docs/users_guide/flags.xml
@@ -1502,14 +1502,6 @@
<entry><option>-fno-warn-warnings-deprecations</option></entry>
</row>
- <row>
- <entry><option>-fwarn-typeable-instances</option></entry>
- <entry>warn if there are any handwritten <literal>Typeable</literal>
- instances (see <xref linkend="deriving-typeable"/>)</entry>
- <entry>dynamic</entry>
- <entry><option>-fno-warn-typeable-instances</option></entry>
- </row>
-
</tbody>
</tgroup>
</informaltable>
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index c825da90c7..735564d14b 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -3503,7 +3503,7 @@ See also <xref linkend="auto-derive-typeable"/>.
</para>
<para>
Also since GHC 7.8.1, handwritten (ie. not derived) instances of
-<literal>Typeable</literal> are forbidden, and will be ignored with a warning.
+<literal>Typeable</literal> are forbidden, and will result in an error.
</para>
</listitem>
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index f6db2192a8..432276dc17 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -974,7 +974,6 @@ test.hs:(5,4)-(6,7):
<option>-fwarn-wrong-do-bind</option>,
<option>-fwarn-unsupported-calling-conventions</option>,
<option>-fwarn-dodgy-foreign-imports</option>,
- <option>-fwarn-typeable-instances</option>,
<option>-fwarn-inline-rule-shadowing</option>, and
<option>-fwarn-unsupported-llvm-version</option>.
The following flags are simple ways to select standard
@@ -1739,19 +1738,6 @@ f "2" = 2
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>-fwarn-typeable-instances</option>:</term>
- <listitem>
- <indexterm><primary><option>-fwarn-typeable-instances</option></primary></indexterm>
- <indexterm><primary>typeable instances, warning</primary></indexterm>
-
- <para>Report handwritten (ie. not derived) instances of the
- <literal>Typeable</literal> class. These are ignore by the compiler;
- only derived instances of <literal>Typeable</literal> are allowed.
- </para>
- </listitem>
- </varlistentry>
-
</variablelist>
<para>If you're feeling really paranoid, the