Skip to content

Commit bf7eeba

Browse files
committed
refactor
1 parent 3d0a1c8 commit bf7eeba

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

analysis/src/CompletionBackEnd.ml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,13 +1028,10 @@ and getCompletionsForContextPath ~debug ~full ~opens ~rawOpens ~pos ~env ~exact
10281028
lhsLoc = exprLoc;
10291029
}
10301030
in
1031-
let completionsFromPipeCtxPath =
1031+
let pipeCompletions =
10321032
cpAsPipeCompletion
10331033
|> getCompletionsForContextPath ~debug ~full ~opens ~rawOpens ~pos
10341034
~env:envCompletionIsMadeFrom ~exact ~scope
1035-
in
1036-
let pipeCompletions =
1037-
completionsFromPipeCtxPath
10381035
|> List.filter_map (fun c ->
10391036
TypeUtils.transformCompletionToPipeCompletion ~synthetic:true
10401037
~env ?posOfDot c)

0 commit comments

Comments
 (0)