Skip to content

Commit a1be3f3

Browse files
committed
Fix Reactor example
1 parent 12ca1fd commit a1be3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/Reactor.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ handle = mconcat
225225
let edit = J.TextEdit (J.mkRange l c l (c + T.length newName)) newName
226226
tde = J.TextDocumentEdit vdoc (J.List [edit])
227227
-- "documentChanges" field is preferred over "changes"
228-
rsp = J.WorkspaceEdit Nothing (Just (J.List [tde]))
228+
rsp = J.WorkspaceEdit Nothing (Just (J.List [J.InL tde]))
229229
responder (Right rsp)
230230

231231
, requestHandler J.STextDocumentHover $ \req responder -> do

0 commit comments

Comments
 (0)