Merge branch 'master' of https://github.com/Bubba/haskell-lsp-test
[lsp-test.git] / example / Main.hs
index 0c8ae9ff821618ee85f198decd3170e199e391ed..fc453db39cdb032a98cb0c468e697167816458cf 100644 (file)
@@ -11,8 +11,8 @@ main = runSession "hie" "test/recordings/renamePass" $ do
 
   sendNotification TextDocumentDidOpen (DidOpenTextDocumentParams docItem)
   
-  sendRequest (Proxy :: Proxy DocumentSymbolRequest) TextDocumentDocumentSymbol (DocumentSymbolParams docId)
+  sendRequest TextDocumentDocumentSymbol (DocumentSymbolParams docId)
 
   skipMany loggingNotification
 
-  response >>= liftIO . print
+  anyResponse >>= liftIO . print