File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -536,7 +536,8 @@ let completionForExportedTypes ~env ~prefix ~exact ~namesUsed =
536
536
(Stamps. findType env.file.stamps) ~prefix ~exact ~env ~names Used (fun t ->
537
537
Completion. Type t)
538
538
539
- let completionsForConstructors ~(env : QueryEnv.t ) ~prefix ~exact ~namesUsed =
539
+ let completionsForExportedConstructors ~(env : QueryEnv.t ) ~prefix ~exact
540
+ ~namesUsed =
540
541
let res = ref [] in
541
542
Exported. iter env.exported Exported. Type (fun _name stamp ->
542
543
match Stamps. findType env.file.stamps stamp with
@@ -670,7 +671,7 @@ let findAllCompletions ~(env : QueryEnv.t) ~prefix ~exact ~namesUsed
670
671
match completionContext with
671
672
| Value ->
672
673
completionForExportedValues ~env ~prefix ~exact ~names Used
673
- @ completionsForConstructors ~env ~prefix ~exact ~names Used
674
+ @ completionsForExportedConstructors ~env ~prefix ~exact ~names Used
674
675
@ completionForExportedModules ~env ~prefix ~exact ~names Used
675
676
| Type ->
676
677
completionForExportedTypes ~env ~prefix ~exact ~names Used
You can’t perform that action at this time.
0 commit comments