Skip to content

Commit 53ef8b5

Browse files
committed
chore: Fix issues after rebase
1 parent ba225ee commit 53ef8b5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

compiler/src/language_server/document.rei

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ let grain_type_code_block: string => string;
44

55
let grain_code_block: string => string;
66

7+
let markdown_join: (string, string) => string;
8+
79
let print_type: (Env.t, Types.type_expr) => string;
810

911
let print_mod_type: Types.module_declaration => string;

compiler/src/language_server/hover.re

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ let declaration_lens = (ident: Ident.t, decl: Types.type_declaration) => {
7575

7676
let include_lens = (env: Env.t, path: Path.t) => {
7777
let module_decl = Env.find_module(path, None, env);
78-
markdown_join(
79-
grain_code_block("module " ++ Path.name(path)),
78+
Document.markdown_join(
79+
Document.grain_code_block("module " ++ Path.name(path)),
8080
module_lens(module_decl),
8181
);
8282
};
8383

8484
let exception_declaration_lens =
8585
(ident: Ident.t, ext: Types.extension_constructor) => {
86-
grain_type_code_block(
86+
Document.grain_type_code_block(
8787
Printtyp.string_of_extension_constructor(~ident, ext),
8888
);
8989
};

0 commit comments

Comments
 (0)