[commit: ghc] master: Fix comment about result (57aa6bb)

git at git.haskell.org git at git.haskell.org
Sat Sep 3 15:12:13 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/57aa6bb044a3eb46f485e703bcd3b4441959958a/ghc

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

commit 57aa6bb044a3eb46f485e703bcd3b4441959958a
Author: Gabor Greif <ggreif at gmail.com>
Date:   Sat Sep 3 17:10:49 2016 +0200

    Fix comment about result


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

57aa6bb044a3eb46f485e703bcd3b4441959958a
 compiler/iface/MkIface.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/iface/MkIface.hs b/compiler/iface/MkIface.hs
index 4c44e25..8115583 100644
--- a/compiler/iface/MkIface.hs
+++ b/compiler/iface/MkIface.hs
@@ -1089,7 +1089,7 @@ checkFlagHash hsc_env iface = do
 --   - a new home module has been added that shadows a package module
 -- See bug #1372.
 --
--- Returns True if recompilation is required.
+-- Returns (RecompBecause <textual reason>) if recompilation is required.
 checkDependencies :: HscEnv -> ModSummary -> ModIface -> IfG RecompileRequired
 checkDependencies hsc_env summary iface
  = checkList (map dep_missing (ms_imps summary ++ ms_srcimps summary))



More information about the ghc-commits mailing list