Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
Fix legacy code path
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Jun 28, 2020
1 parent 50239a1 commit 9fce831
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Development/IDE/Core/Rules.hs
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,9 @@ getModIfaceRule = defineEarlyCutoff $ \GetModIface f -> do
return (fp, ([], hiFile))
#else
tm <- use TypeCheck f
return ([], tmr_hiFileResult <$> tm)
let !hiFile = extractHiFileResult tm
let fp = hiFileFingerPrint <$> hiFile
return (fp, ([], tmr_hiFileResult <$> tm))
#endif

regenerateHiFile :: HscEnvEq -> NormalizedFilePath -> Action ([FileDiagnostic], Maybe HiFileResult)
Expand Down

0 comments on commit 9fce831

Please sign in to comment.