packages feed

haskell-lsp-types 0.14.0.0 → 0.14.0.1

raw patch · 3 files changed

+9/−6 lines, 3 files

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for haskell-lsp-types +## 0.14.0.1 -- 2019-06-13++* Fix Haddock error+ ## 0.14.0.0 -- 2019-06-13  * Add support for custom request and notification methods
haskell-lsp-types.cabal view
@@ -1,5 +1,5 @@ name:                haskell-lsp-types-version:             0.14.0.0+version:             0.14.0.1 synopsis:            Haskell library for the Microsoft Language Server Protocol, data types  description:         An implementation of the types to allow language implementors to
src/Language/Haskell/LSP/Types/Uri.hs view
@@ -40,11 +40,10 @@  -- | We pull in the authority because in relative file paths the Uri likes to put everything before the slash --   into the authority field-platformAdjustFromUriPath ::-    SystemOS ->-    Maybe String -> -- ^ authority-    String -> -- ^ path-    FilePath+platformAdjustFromUriPath :: SystemOS+                          -> Maybe String -- ^ authority+                          -> String -- ^ path+                          -> FilePath platformAdjustFromUriPath systemOS authority srcPath =   (maybe id (++) authority) $   if systemOS /= windowsOS || null srcPath then srcPath