We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a3df2 commit db987f4Copy full SHA for db987f4
analysis/src/CompletionFrontEnd.ml
@@ -778,8 +778,8 @@ let completionWithParser1 ~currentFile ~debug ~offset ~path ~posCursor ~text =
778
cases
779
|> List.iter (fun (case : Parsetree.case) ->
780
let oldScope = !scope in
781
- scopePattern ?contextPath:ctxPath case.pc_lhs;
782
completePattern ?contextPath:ctxPath case.pc_lhs;
+ scopePattern ?contextPath:ctxPath case.pc_lhs;
783
Ast_iterator.default_iterator.case iterator case;
784
scope := oldScope);
785
resetCurrentCtxPath oldCtxPath
0 commit comments