We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb8434a commit 04c8a6eCopy full SHA for 04c8a6e
analysis/src/CompletionBackEnd.ml
@@ -864,14 +864,9 @@ and getCompletionsForContextPath ~debug ~full ~opens ~rawOpens ~allFiles ~pos
864
with
865
| None -> []
866
| 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. *)
870
let env, typ =
871
typ
872
- |> TypeUtils.resolveTypeForPipeCompletion
873
- (* by doing this ~env:envFromCompletionItem*)
874
- ~env ~package ~full ~lhsLoc
+ |> TypeUtils.resolveTypeForPipeCompletion ~env ~package ~full ~lhsLoc
875
in
876
if debug then
877
if env <> envFromCompletionItem then
0 commit comments