summaryrefslogtreecommitdiff
path: root/compiler/main/HscMain.hs
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2015-07-21 16:51:51 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2015-07-22 13:04:04 -0700
commit0b12aca09efd4c151a8c2682b7534bda9bdc99ad (patch)
treef8620d05c2285898ff35b03e218caf6e27fc36cc /compiler/main/HscMain.hs
parentcf57f8f9e9a649d7ffdfe0be09e503f6ed468a5d (diff)
downloadhaskell-0b12aca09efd4c151a8c2682b7534bda9bdc99ad.tar.gz
Switch from recording IsBootInterface to recording full HscSource.
Note: ModIface format change is BC, no need to recompile. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'compiler/main/HscMain.hs')
-rw-r--r--compiler/main/HscMain.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/HscMain.hs b/compiler/main/HscMain.hs
index 94896b0e86..13717b6b4b 100644
--- a/compiler/main/HscMain.hs
+++ b/compiler/main/HscMain.hs
@@ -1622,7 +1622,7 @@ mkModGuts :: Module -> SafeHaskellMode -> CoreProgram -> ModGuts
mkModGuts mod safe binds =
ModGuts {
mg_module = mod,
- mg_boot = False,
+ mg_hsc_src = HsSrcFile,
mg_exports = [],
mg_deps = noDependencies,
mg_dir_imps = emptyModuleEnv,