X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=example%2FMain.hs;h=cc74026531ead6183d384d9113fd001a8f60e510;hp=4891c6c12219cf34d85b1b23bb1a303cbb17bd6f;hb=d8e460543b7cbc32550bed20d20ef4b13d6705a5;hpb=0da56e90a0fd4ada9acb01ca9ce769c5924653ec diff --git a/example/Main.hs b/example/Main.hs index 4891c6c..cc74026 100644 --- a/example/Main.hs +++ b/example/Main.hs @@ -6,7 +6,8 @@ import Control.Monad.IO.Class main = runSession "hie --lsp" "test/recordings/renamePass" $ do docItem <- openDoc "Desktop/simple.hs" "haskell" - sendRequest TextDocumentDocumentSymbol (DocumentSymbolParams docItem) + let params = DocumentSymbolParams docItem + _ <- sendRequest TextDocumentDocumentSymbol params :: Session DocumentSymbolsResponse skipMany loggingNotification