Skip to content

Commit 04c8a6e

Browse files
committed
remove now irrelevant comments about issues
1 parent fb8434a commit 04c8a6e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

analysis/src/CompletionBackEnd.ml

+1-6
Original file line numberDiff line numberDiff line change
@@ -864,14 +864,9 @@ and getCompletionsForContextPath ~debug ~full ~opens ~rawOpens ~allFiles ~pos
864864
with
865865
| None -> []
866866
| Some (typ, envFromCompletionItem) -> (
867-
(* Passing `envFromCompletionItem` into `resolveTypeForPipeCompletion`
868-
fixes the issue in `CompletionInferValues.res`, but breaks other pipe
869-
chains. Change it and see what breaks instead. *)
870867
let env, typ =
871868
typ
872-
|> TypeUtils.resolveTypeForPipeCompletion
873-
(* by doing this ~env:envFromCompletionItem*)
874-
~env ~package ~full ~lhsLoc
869+
|> TypeUtils.resolveTypeForPipeCompletion ~env ~package ~full ~lhsLoc
875870
in
876871
if debug then
877872
if env <> envFromCompletionItem then

0 commit comments

Comments
 (0)