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
817817 if Utils. checkName field.fname.txt ~prefix: fieldName ~exact then
818818 Some
819819 (Completion. create field.fname.txt ~env
820- ~docstring: field.docstring
820+ ?deprecated:field.deprecated ~docstring: field.docstring
821821 ~kind: (Completion. Field (field, recordAsString)))
822822 else None ))
823823 | CPObj (cp , label ) -> (
Original file line number Diff line number Diff line change @@ -730,12 +730,12 @@ module Completion = struct
730730 detail;
731731 }
732732
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 = [] ) () =
735735 {
736736 name;
737737 env;
738- deprecated = None ;
738+ deprecated;
739739 docstring;
740740 kind;
741741 sortText;
You can’t perform that action at this time.
0 commit comments