packages feed

hsdev 0.1.6.1 → 0.1.6.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

hsdev.cabal view
@@ -2,7 +2,7 @@ --  see http://haskell.org/cabal/users-guide/
 
 name:                hsdev
-version:             0.1.6.1
+version:             0.1.6.2
 synopsis:            Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.
 description:
   Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references, hayoo search etc.
src/HsDev/Server/Commands.hs view
@@ -285,7 +285,7 @@ 							| silent = return ()
 							| otherwise = traverse (const $ mmap' noFile (Response $ Left n)) m >>= answer
 					commandLog copts Log.Trace $ name ++ " >> " ++ fromUtf8 (encode c)
-					resp <- fmap result $ handleTimeout tm $ handleError $
+					resp <- fmap (Response . Right) $ handleTimeout tm $ handleError $
 						processRequest
 							(copts {
 								commandRoot = cdir,