summaryrefslogtreecommitdiff
path: root/compiler/iface
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2016-09-03 17:10:49 +0200
committerGabor Greif <ggreif@gmail.com>2016-09-03 17:10:49 +0200
commit57aa6bb044a3eb46f485e703bcd3b4441959958a (patch)
treeca5e933b02dc10b72c3566337d921d329bf3d51e /compiler/iface
parentac2ded39017714bb5a0124b60dddcb493dd308d1 (diff)
downloadhaskell-57aa6bb044a3eb46f485e703bcd3b4441959958a.tar.gz
Fix comment about result
Diffstat (limited to 'compiler/iface')
-rw-r--r--compiler/iface/MkIface.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/iface/MkIface.hs b/compiler/iface/MkIface.hs
index 4c44e25eca..8115583e32 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))