We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1628871 commit ce0f8f3Copy full SHA for ce0f8f3
ocaml-lsp-server/src/custom_requests/req_merlin_call_compatible.ml
@@ -70,7 +70,9 @@ module Request_params = struct
70
let result_as_sexp = json |> member "resultAsSexp" |> to_bool in
71
let command = json |> member "command" |> to_string in
72
let args = args_of_yojson json in
73
- let text_document = TextDocumentIdentifier.t_of_yojson json in
+ let text_document =
74
+ json |> member "textDocument" |> TextDocumentIdentifier.t_of_yojson
75
+ in
76
{ text_document; result_as_sexp; command; args }
77
;;
78
0 commit comments