[commit: ghc] master: Document that we don't warn about defining deprecated class methods (155e9e1)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/155e9e1369e1a063452f82a35d9edc58c1da2ef7

>---------------------------------------------------------------

commit 155e9e1369e1a063452f82a35d9edc58c1da2ef7
Author: Ian Lynagh <[email protected]>
Date:   Thu Sep 27 14:06:03 2012 +0100

    Document that we don't warn about defining deprecated class methods

>---------------------------------------------------------------

 docs/users_guide/glasgow_exts.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index a81ae34..1c2e76e 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -8552,8 +8552,9 @@ Assertion failures can be caught, see the documentation for the
 	</listitem>
       </itemizedlist>
       Warnings and deprecations are not reported for
-      (a) uses within the defining module, and
-      (b) uses in an export list.
+      (a) uses within the defining module,
+      (b) defining a method in a class instance, and
+      (c) uses in an export list.
       The latter reduces spurious complaints within a library
       in which one module gathers together and re-exports
       the exports of several others.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.