Skip to content

Commit db987f4

Browse files
zthcristianoc
authored andcommitted
correct order
1 parent 29a3df2 commit db987f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analysis/src/CompletionFrontEnd.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,8 +778,8 @@ let completionWithParser1 ~currentFile ~debug ~offset ~path ~posCursor ~text =
778778
cases
779779
|> List.iter (fun (case : Parsetree.case) ->
780780
let oldScope = !scope in
781-
scopePattern ?contextPath:ctxPath case.pc_lhs;
782781
completePattern ?contextPath:ctxPath case.pc_lhs;
782+
scopePattern ?contextPath:ctxPath case.pc_lhs;
783783
Ast_iterator.default_iterator.case iterator case;
784784
scope := oldScope);
785785
resetCurrentCtxPath oldCtxPath

0 commit comments

Comments
 (0)