Update haskell-lsp bounds
authorLuke Lau <luke_lau@icloud.com>
Sun, 28 Apr 2019 19:15:27 +0000 (20:15 +0100)
committerLuke Lau <luke_lau@icloud.com>
Sun, 28 Apr 2019 19:15:27 +0000 (20:15 +0100)
lsp-test.cabal
src/Language/Haskell/LSP/Test/Decoding.hs
src/Language/Haskell/LSP/Test/Messages.hs
stack.yaml

index f5822d9582c77f0c88af1e2c42f1939dab3519d9..947aaddb42259215465a9978641fd77be0c6d344 100644 (file)
@@ -1,5 +1,5 @@
 name:                lsp-test
-version:             0.5.1.3
+version:             0.5.1.4
 synopsis:            Functional test framework for LSP servers.
 description:
   A test framework for writing tests against
@@ -36,7 +36,7 @@ library
                      , parser-combinators:Control.Applicative.Combinators
   default-language:    Haskell2010
   build-depends:       base >= 4.10 && < 5
-                     , haskell-lsp >= 0.10 && < 0.11
+                     , haskell-lsp == 0.11.*
                      , aeson
                      , aeson-pretty
                      , ansi-terminal
@@ -78,7 +78,7 @@ test-suite tests
   build-depends:       base >= 4.10 && < 5
                      , hspec
                      , lens
-                     , haskell-lsp >= 0.10 && < 0.11
+                     , haskell-lsp >= 0.10 && < 0.12
                      , lsp-test
                      , data-default
                      , aeson
index 43810bbe7c28fa95e47a7795d65190a8598fc42f..337dee371db5ae67cbe3f898e1f8401a4d05609a 100644 (file)
@@ -134,7 +134,6 @@ decodeFromServerMsg reqMap bytes =
         WindowProgressStart            -> NotProgressStart $ fromJust $ decode bytes
         WindowProgressReport           -> NotProgressReport $ fromJust $ decode bytes
         WindowProgressDone             -> NotProgressDone $ fromJust $ decode bytes
-        WindowProgressCancel           -> NotProgressCancel $ fromJust $ decode bytes
         TelemetryEvent                 -> NotTelemetry $ fromJust $ decode bytes
         WindowShowMessageRequest       -> ReqShowMessage $ fromJust $ decode bytes
         ClientRegisterCapability       -> ReqRegisterCapability $ fromJust $ decode bytes
index 258f91b2dfdc63525834eebed99ac82fdb865f64..1a3805f07ff3d5cecc28adf08f345e8e8be66cb6 100644 (file)
@@ -93,7 +93,6 @@ handleServerMessage request response notification msg = case msg of
     (NotProgressStart            m) -> notification m
     (NotProgressReport           m) -> notification m
     (NotProgressDone             m) -> notification m
-    (NotProgressCancel           m) -> notification m
     (NotTelemetry                m) -> notification m
     (NotCancelRequestFromServer  m) -> notification m
 
@@ -145,4 +144,5 @@ handleClientMessage request response notification msg = case msg of
  (NotDidSaveTextDocument      m) -> notification m
  (NotDidChangeWatchedFiles    m) -> notification m
  (NotDidChangeWorkspaceFolders m) -> notification m
+ (NotProgressCancel           m) -> notification m
  (UnknownFromClientMessage    m) -> error $ "Unknown message sent from client: " ++ show m
index 57f3658565779664515d01c80e2670ec4cab294b..be001f81df152d5db834984afd4ddf2a3b004d1c 100644 (file)
@@ -3,5 +3,5 @@ packages:
   - .
 
 extra-deps:
-  - haskell-lsp-0.10.0.0
-  - haskell-lsp-types-0.10.0.0
+  - haskell-lsp-0.11.0.0
+  - haskell-lsp-types-0.11.0.0