Permalink
Browse files

avoid empty string as file name, errors under unix

  • Loading branch information...
1 parent 724cc63 commit 642449e81de0c6b2789d37d8f8a0047844f89c94 @JPMoresmau committed May 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Scion/Inspect/IFaceLoader.hs
@@ -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))

0 comments on commit 642449e

Please sign in to comment.