summaryrefslogtreecommitdiff
path: root/compiler/GHC/Iface/Recomp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Iface/Recomp.hs')
-rw-r--r--compiler/GHC/Iface/Recomp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Iface/Recomp.hs b/compiler/GHC/Iface/Recomp.hs
index d6ee899794..1a978f9000 100644
--- a/compiler/GHC/Iface/Recomp.hs
+++ b/compiler/GHC/Iface/Recomp.hs
@@ -323,7 +323,7 @@ check_old_iface hsc_env mod_summary maybe_iface
-- If the source has changed and we're in interactive mode,
-- avoid reading an interface; just return the one we might
-- have been supplied with.
- True | not (backendProducesObject $ backend dflags) ->
+ True | not (backendWritesFiles $ backend dflags) ->
return $ OutOfDateItem MustCompile maybe_iface
-- Try and read the old interface for the current module