summaryrefslogtreecommitdiff
path: root/compiler/main/GhcMake.hs
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2015-09-21 15:46:09 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2015-09-21 15:46:17 -0700
commit83e23c1a4cce36de68c3c8323d27f24182b33f34 (patch)
tree244ac81723907314b789d393f6e115964e366bd5 /compiler/main/GhcMake.hs
parent5a8b055ece4ae63eef1fc794f352b7be66e4a0cd (diff)
downloadhaskell-83e23c1a4cce36de68c3c8323d27f24182b33f34.tar.gz
Remove (now bogus) assert.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'compiler/main/GhcMake.hs')
-rw-r--r--compiler/main/GhcMake.hs9
1 files changed, 6 insertions, 3 deletions
diff --git a/compiler/main/GhcMake.hs b/compiler/main/GhcMake.hs
index cc112da197..3d29b1d38e 100644
--- a/compiler/main/GhcMake.hs
+++ b/compiler/main/GhcMake.hs
@@ -162,9 +162,12 @@ load how_much = do
-- (see msDeps)
let all_home_mods = [ms_mod_name s
| s <- mod_graph, not (isBootSummary s)]
- bad_boot_mods = [s | s <- mod_graph, isBootSummary s,
- not (ms_mod_name s `elem` all_home_mods)]
- ASSERT( null bad_boot_mods ) return ()
+ -- TODO: Figure out what the correct form of this assert is. It's violated
+ -- when you have HsBootMerge nodes in the graph: then you'll have hs-boot
+ -- files without corresponding hs files.
+ -- bad_boot_mods = [s | s <- mod_graph, isBootSummary s,
+ -- not (ms_mod_name s `elem` all_home_mods)]
+ -- ASSERT( null bad_boot_mods ) return ()
-- check that the module given in HowMuch actually exists, otherwise
-- topSortModuleGraph will bomb later.