[commit: ghc] wip/nfs-locking: Implement interestingInfo for Haddock. (c6b59ef)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:05:57 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/c6b59ef5c98617955b4c4c98742cc99b68371fd6/ghc

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

commit c6b59ef5c98617955b4c4c98742cc99b68371fd6
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Aug 21 23:39:40 2015 +0100

    Implement interestingInfo for Haddock.


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

c6b59ef5c98617955b4c4c98742cc99b68371fd6
 src/Rules/Actions.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Rules/Actions.hs b/src/Rules/Actions.hs
index d73c6a7..e58669a 100644
--- a/src/Rules/Actions.hs
+++ b/src/Rules/Actions.hs
@@ -50,6 +50,7 @@ interestingInfo builder ss = case builder of
     Ghc _    -> prefixAndSuffix 0 4 ss
     GhcM _   -> prefixAndSuffix 1 1 ss
     GhcPkg _ -> prefixAndSuffix 3 0 ss
+    Haddock  -> prefixAndSuffix 1 0 ss
     GhcCabal -> prefixAndSuffix 3 0 ss
     _        -> ss
   where



More information about the ghc-commits mailing list