packages feed

hdocs 0.4.1.1 → 0.4.1.2

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hdocs.cabal view
@@ -1,5 +1,5 @@ name:                hdocs
-version:             0.4.1.1
+version:             0.4.1.2
 synopsis:            Haskell docs tool
 description:
   Tool and library to get docs for installed packages and source files.
src/HDocs/Haddock.hs view
@@ -46,7 +46,7 @@ -- | Read docs for haskell module
 readSource :: [String] -> FilePath -> ErrorT String IO (String, ModuleDocMap)
 readSource opts f = do
-	ifaces <- liftIO $ createInterfaces ([Flag_Verbosity "0", Flag_NoWarnings] ++ map Flag_OptGhc opts) [f]
+	ifaces <- liftError $ liftIO $ createInterfaces ([Flag_Verbosity "0", Flag_NoWarnings] ++ map Flag_OptGhc opts) [f]
 	iface <- maybe (throwError $ "Failed to load docs for " ++ f) return $ listToMaybe ifaces
 	return $ interfaceDocs iface