Skip to content

Commit 2703d51

Browse files
zthcristianoc
authored andcommitted
fix after rebase
1 parent 1d371dd commit 2703d51

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

analysis/src/CompletionBackEnd.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) -> (

analysis/src/SharedTypes.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)