ocaml-lsp icon indicating copy to clipboard operation
ocaml-lsp copied to clipboard

Cannot resolve type calling doHover while using and*

Open rbjorklin opened this issue 3 years ago • 1 comments

I have a piece of code that looks like this:

let example () =
  let* promise_1 = my_fun1 ()
  and* promise_2 = my_fun2 () in
  Lwt.return_unit

where calling doHover on promise_2 just returns unit Lwt.t which also happens to be the type of the entire expression.

rbjorklin avatar Oct 16 '22 03:10 rbjorklin

cc @voodoos as this is likely a merlin issue.

rgrinberg avatar Oct 18 '22 23:10 rgrinberg