File tree 2 files changed +3
-3
lines changed
haskell-lsp-types/src/Language/Haskell/LSP/Types 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -794,8 +794,8 @@ Response
794
794
795
795
-}
796
796
797
- type ShutdownRequest = RequestMessage ClientMethod (Maybe A. Value ) Text
798
- type ShutdownResponse = ResponseMessage Text
797
+ type ShutdownRequest = RequestMessage ClientMethod (Maybe A. Value ) ( Maybe () )
798
+ type ShutdownResponse = ResponseMessage ( Maybe () )
799
799
800
800
-- ---------------------------------------------------------------------
801
801
{-
Original file line number Diff line number Diff line change @@ -879,7 +879,7 @@ progressCancelHandler tvarCtx (J.NotificationMessage _ _ (J.ProgressCancelParams
879
879
shutdownRequestHandler :: TVar (LanguageContextData config ) -> J. ShutdownRequest -> IO ()
880
880
shutdownRequestHandler tvarCtx req@ (J. RequestMessage _ origId _ _) =
881
881
flip E. catches (defaultErrorHandlers tvarCtx (J. responseId origId) req) $ do
882
- let res = makeResponseMessage req " ok "
882
+ let res = makeResponseMessage req Nothing
883
883
884
884
sendResponse tvarCtx $ RspShutdown res
885
885
You can’t perform that action at this time.
0 commit comments