From 82b289c0c28f425f2bdce9c209e927d9595585ee Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Mon, 5 Oct 2020 14:28:16 +0100 Subject: [PATCH] Bump haskell-lsp bounds --- lsp-test.cabal | 6 +++--- test/dummy-server/Main.hs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2