diff options
-rw-r--r-- | compiler/main/DriverPipeline.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index 3affcb1c73..ff6e81d2a5 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -186,7 +186,7 @@ compileOne' m_tc_result mHscMessage case e of Left iface -> do details <- genModDetails hsc_env iface - MASSERT(isJust maybe_old_linkable) + MASSERT(isJust maybe_old_linkable || isNoLink (ghcLink dflags)) return (HomeModInfo{ hm_details = details, hm_iface = iface, hm_linkable = maybe_old_linkable }) |