Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

avoid empty string as file name, errors under unix

  • Loading branch information...
commit 642449e81de0c6b2789d37d8f8a0047844f89c94 1 parent 724cc63
JP Moresmau authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Scion/Inspect/IFaceLoader.hs
2  lib/Scion/Inspect/IFaceLoader.hs
View
@@ -267,7 +267,7 @@ cacheHomePackageModule m cache = withSession readHomePackageModule
collectInterface initialMState iface
>>= (\mstate ->do
let updMSyms = modSyms mstate
- mcd <- liftIO (mkModCacheData "" updMSyms)
+ mcd <- liftIO (mkModCacheData "." updMSyms) -- getModificationTime "" throws an error on unixes
(debugModSymData (exportSyms mstate) updMSyms)
>> (reportProblems m mstate)
>> (return $ Map.insert m mcd cache))
Please sign in to comment.
Something went wrong with that request. Please try again.