[commit: haddock] ghc-7.6: Improve note about `binaryInterfaceVersion` (thanks David) (36c2c37)

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

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/36c2c37136ac26b19c6e869a537abbd990ebbc46

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

commit 36c2c37136ac26b19c6e869a537abbd990ebbc46
Author: Simon Hengel <[email protected]>
Date:   Fri Oct 12 09:49:31 2012 +0200

    Improve note about `binaryInterfaceVersion` (thanks David)

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

 src/Haddock/InterfaceFile.hs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index 7981862..a25b734 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -66,8 +66,9 @@ binaryInterfaceMagic = 0xD0Cface
 -- versions, and because we store GHC datatypes in our interface files, we need
 -- to make sure we version our interface files accordingly.
 --
--- If you adapt this code to work with a newer versions of GHC *you* need to
--- follow those steps:
+-- If you change the interface file format or adapt Haddock to work with a new
+-- major version of GHC (so that the format changes indirectly) *you* need to
+-- follow these steps:
 --
 -- (1) increase `binaryInterfaceVersion`
 --
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.