From: Luke Lau Date: Mon, 5 Oct 2020 13:28:16 +0000 (+0100) Subject: Bump haskell-lsp bounds X-Git-Tag: 0.11.0.7~1 X-Git-Url: https://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=82b289c0c28f425f2bdce9c209e927d9595585ee Bump haskell-lsp bounds --- diff --git a/lsp-test.cabal b/lsp-test.cabal index 2a12d7f..9eabc8a 100644 --- a/lsp-test.cabal +++ b/lsp-test.cabal @@ -42,7 +42,7 @@ library , parser-combinators:Control.Applicative.Combinators default-language: Haskell2010 build-depends: base >= 4.10 && < 5 - , haskell-lsp >= 0.22 && < 0.23 + , haskell-lsp >= 0.22 && < 0.24 , aeson , aeson-pretty , ansi-terminal @@ -82,7 +82,7 @@ executable dummy-server hs-source-dirs: test/dummy-server ghc-options: -W build-depends: base >= 4.10 && < 5 - , haskell-lsp + , haskell-lsp >= 0.23 && < 0.24 , data-default , aeson , unordered-containers @@ -101,7 +101,7 @@ test-suite tests build-depends: base >= 4.10 && < 5 , hspec , lens - , haskell-lsp >= 0.22 && < 0.23 + , haskell-lsp >= 0.22 && < 0.24 , lsp-test , data-default , aeson diff --git a/test/dummy-server/Main.hs b/test/dummy-server/Main.hs index ab917e8..f0819d8 100644 --- a/test/dummy-server/Main.hs +++ b/test/dummy-server/Main.hs @@ -112,7 +112,7 @@ handlers lfvar = def , completionHandler = pure $ \req -> do let res = CompletionList (CompletionListType False (List [item])) item = - CompletionItem "foo" (Just CiConstant) (List []) Nothing + CompletionItem "foo" (Just CiConstant) (Just (List [])) Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing Nothing send $ RspCompletion $ makeResponseMessage req res