File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -316,20 +316,6 @@ let completePipeChain ~(lhs : Parsetree.expression) =
316
316
|> Option. map (fun ctxPath -> (ctxPath, pexp_loc))
317
317
| _ -> None
318
318
319
- let findPatTupleItemWithCursor patterns ~pos =
320
- let patCount = ref None in
321
- let patCountWithPatHole = ref None in
322
- patterns
323
- |> List. iteri (fun index p ->
324
- match p.Parsetree. ppat_loc |> CursorPosition. classifyLoc ~pos with
325
- | HasCursor -> patCount := Some index
326
- | EmptyLoc -> patCountWithPatHole := Some index
327
- | _ -> () );
328
- match (! patCount, ! patCountWithPatHole) with
329
- | Some patCount , _ -> Some patCount
330
- | None , Some patHoleCount -> Some patHoleCount
331
- | _ -> None
332
-
333
319
let completionWithParser1 ~currentFile ~debug ~offset ~path ~posCursor ~text =
334
320
let offsetNoWhite = Utils. skipWhite text (offset - 1 ) in
335
321
let posNoWhite =
You can’t perform that action at this time.
0 commit comments