File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
compiler/src/language_server Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ let build_value_completion =
230230 {
231231 label: value_name,
232232 kind: CompletionItemKindValue ,
233- detail: Doc . print_type(env, value_desc. val_type),
233+ detail: Document . print_type(env, value_desc. val_type),
234234 documentation: "" ,
235235 };
236236};
@@ -239,7 +239,7 @@ let build_module_completion =
239239 {
240240 label: module_name,
241241 kind: CompletionItemKindModule ,
242- detail: Doc . print_mod_type(mod_desc),
242+ detail: Document . print_mod_type(mod_desc),
243243 documentation: "" ,
244244 };
245245};
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -50,23 +50,25 @@ let send_no_result = (~id: Protocol.message_id) => {
5050};
5151
5252let module_lens = (decl: Types . module_declaration ) => {
53- Doc . grain_code_block(Doc . print_mod_type(decl));
53+ Document . grain_code_block(Document . print_mod_type(decl));
5454};
5555
5656let value_lens = (env: Env . t , ty: Types . type_expr ) => {
57- Doc . print_type(env, ty);
57+ Document . print_type(env, ty);
5858};
5959
6060let pattern_lens = (p: Typedtree . pattern ) => {
61- Doc . print_type(p. pat_env, p. pat_type);
61+ Document . print_type(p. pat_env, p. pat_type);
6262};
6363
6464let type_lens = (ty: Typedtree . core_type ) => {
65- Doc . grain_type_code_block(Printtyp . string_of_type_scheme(ty. ctyp_type));
65+ Document . grain_type_code_block(
66+ Printtyp . string_of_type_scheme(ty. ctyp_type),
67+ );
6668};
6769
6870let declaration_lens = (ident: Ident . t , decl: Types . type_declaration ) => {
69- Doc . grain_type_code_block(
71+ Document . grain_type_code_block(
7072 Printtyp . string_of_type_declaration(~ident, decl),
7173 );
7274};
You can’t perform that action at this time.
0 commit comments