File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 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 =
536536 (Stamps. findType env.file.stamps) ~prefix ~exact ~env ~names Used (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 ~names Used
673- @ completionsForConstructors ~env ~prefix ~exact ~names Used
674+ @ completionsForExportedConstructors ~env ~prefix ~exact ~names Used
674675 @ completionForExportedModules ~env ~prefix ~exact ~names Used
675676 | Type ->
676677 completionForExportedTypes ~env ~prefix ~exact ~names Used
You can’t perform that action at this time.
0 commit comments