Skip to content

Commit cd065b4

Browse files
committed
rename
1 parent 6d8660c commit cd065b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

analysis/src/NewCompletions.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,8 @@ let completionForExportedTypes ~env ~prefix ~exact ~namesUsed =
536536
(Stamps.findType env.file.stamps) ~prefix ~exact ~env ~namesUsed (fun t ->
537537
Completion.Type t)
538538

539-
let completionsForConstructors ~(env : QueryEnv.t) ~prefix ~exact ~namesUsed =
539+
let completionsForExportedConstructors ~(env : QueryEnv.t) ~prefix ~exact
540+
~namesUsed =
540541
let res = ref [] in
541542
Exported.iter env.exported Exported.Type (fun _name stamp ->
542543
match Stamps.findType env.file.stamps stamp with
@@ -670,7 +671,7 @@ let findAllCompletions ~(env : QueryEnv.t) ~prefix ~exact ~namesUsed
670671
match completionContext with
671672
| Value ->
672673
completionForExportedValues ~env ~prefix ~exact ~namesUsed
673-
@ completionsForConstructors ~env ~prefix ~exact ~namesUsed
674+
@ completionsForExportedConstructors ~env ~prefix ~exact ~namesUsed
674675
@ completionForExportedModules ~env ~prefix ~exact ~namesUsed
675676
| Type ->
676677
completionForExportedTypes ~env ~prefix ~exact ~namesUsed

0 commit comments

Comments
 (0)