Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
Hack for #924, -Wmissing-home-modules errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielG committed Jan 21, 2018
1 parent f5149e7 commit 1ea7e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/GhcMod/Target.hs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ runGmlTWith efnmns' mdf wrapper action = do
cfns <- mapM getCanonicalFileNameSafe ccfns
let serfnmn = Set.fromList $ map Right mns ++ map Left cfns
opts <- targetGhcOptions crdl serfnmn
let opts' = opts ++ ["-O0"] ++ optGhcUserOptions
let opts' = opts ++ ["-O0", "-fno-missing-home-modules"] ++ optGhcUserOptions

gmVomit
"session-ghc-options"
Expand Down

0 comments on commit 1ea7e85

Please sign in to comment.