From 8c79bbaf4135321c321b5599ada4a370e5dcb50d Mon Sep 17 00:00:00 2001 From: Zubin Duggal Date: Mon, 5 Oct 2020 13:42:33 +0530 Subject: [PATCH] use senRequest instead of request_ in executeCommand to avoid gobbling up messages --- src/Language/Haskell/LSP/Test.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Language/Haskell/LSP/Test.hs b/src/Language/Haskell/LSP/Test.hs index 6427dd2..1ed07d5 100644 --- a/src/Language/Haskell/LSP/Test.hs +++ b/src/Language/Haskell/LSP/Test.hs @@ -543,7 +543,7 @@ executeCommand :: Command -> Session () executeCommand cmd = do let args = decode $ encode $ fromJust $ cmd ^. arguments execParams = ExecuteCommandParams Nothing (cmd ^. command) args - request_ SWorkspaceExecuteCommand execParams + void $ sendRequest SWorkspaceExecuteCommand execParams -- | Executes a code action. -- Matching with the specification, if a code action -- 2.30.2