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

Ian Lynagh igloo at earth.li
Thu Sep 27 15:09:00 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

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

commit 155e9e1369e1a063452f82a35d9edc58c1da2ef7
Author: Ian Lynagh <ian at well-typed.com>
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.





More information about the Cvs-ghc mailing list