Allow message types to be infered
[lsp-test.git] / example / Main.hs
index d66e17e11075f0f018e7ee8a37eaf4410734212a..1697ca53d90cd51b2144b2d438efbc00ab568c70 100644 (file)
@@ -11,8 +11,8 @@ main = runSession "test/recordings/renamePass" $ do
 
   sendNotification TextDocumentDidOpen (DidOpenTextDocumentParams docItem)
   
-  sendRequest (Proxy :: Proxy DocumentSymbolRequest) TextDocumentDocumentSymbol (DocumentSymbolParams docId)
+  sendRequest TextDocumentDocumentSymbol (DocumentSymbolParams docId)
 
   skipMany loggingNotification
 
-  response >>= liftIO . print
\ No newline at end of file
+  anyResponse >>= liftIO . print