Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
zth authored and cristianoc committed Mar 9, 2023
1 parent 1d371dd commit 2703d51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion analysis/src/CompletionBackEnd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ and getCompletionsForContextPath ~full ~opens ~rawOpens ~allFiles ~pos ~env
if Utils.checkName field.fname.txt ~prefix:fieldName ~exact then
Some
(Completion.create field.fname.txt ~env
~docstring:field.docstring
?deprecated:field.deprecated ~docstring:field.docstring
~kind:(Completion.Field (field, recordAsString)))
else None))
| CPObj (cp, label) -> (
Expand Down
6 changes: 3 additions & 3 deletions analysis/src/SharedTypes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -730,12 +730,12 @@ module Completion = struct
detail;
}

let createWithSnippet ~name ?insertText ~kind ~env ?sortText ?filterText
?detail ?(docstring = []) () =
let createWithSnippet ~name ?insertText ~kind ~env ?sortText ?deprecated
?filterText ?detail ?(docstring = []) () =
{
name;
env;
deprecated = None;
deprecated;
docstring;
kind;
sortText;
Expand Down

0 comments on commit 2703d51

Please sign in to comment.