File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -817,7 +817,7 @@ and getCompletionsForContextPath ~full ~opens ~rawOpens ~allFiles ~pos ~env
817
817
if Utils. checkName field.fname.txt ~prefix: fieldName ~exact then
818
818
Some
819
819
(Completion. create field.fname.txt ~env
820
- ~docstring: field.docstring
820
+ ?deprecated:field.deprecated ~docstring: field.docstring
821
821
~kind: (Completion. Field (field, recordAsString)))
822
822
else None ))
823
823
| CPObj (cp , label ) -> (
Original file line number Diff line number Diff line change @@ -730,12 +730,12 @@ module Completion = struct
730
730
detail;
731
731
}
732
732
733
- let createWithSnippet ~name ?insertText ~kind ~env ?sortText ?filterText
734
- ?detail ?(docstring = [] ) () =
733
+ let createWithSnippet ~name ?insertText ~kind ~env ?sortText ?deprecated
734
+ ?filterText ? detail ?(docstring = [] ) () =
735
735
{
736
736
name;
737
737
env;
738
- deprecated = None ;
738
+ deprecated;
739
739
docstring;
740
740
kind;
741
741
sortText;
You can’t perform that action at this time.
0 commit comments