Skip to content

Commit ec5edd5

Browse files
committed
Revert Hover.ml
1 parent a967931 commit ec5edd5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

analysis/src/Hover.ml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,7 @@ let newHover ~full:{file; package} ~supportsMarkdownLinks locItem =
275275
| Some file ->
276276
showModule ~docstring:file.structure.docstring ~name:file.moduleName ~file
277277
~package None)
278-
| Typed (_, t, Definition (_, (Field _ | Constructor _))) ->
279-
let fromType typ =
280-
hoverWithExpandedTypes ~file ~package ~supportsMarkdownLinks typ
281-
in
282-
let t = Shared.dig t in
283-
Some (fromType t)
278+
| Typed (_, _, Definition (_, (Field _ | Constructor _))) -> None
284279
| Constant t ->
285280
Some
286281
(Markdown.codeBlock

0 commit comments

Comments
 (0)