Skip to content

Commit 3cf5e96

Browse files
committed
Add example showing how doc comments for inner modules are not shown yet in module hover.
See #469
1 parent fbb6e1f commit 3cf5e96

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

analysis/tests/src/Hover.res

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,12 @@ let docComment1 = 12
146146
/** doc comment 2 */
147147
let docComment2 = 12
148148
// ^hov
149+
150+
module ModWithDocComment = {
151+
/*** module level doc comment 1 */
152+
153+
/** doc comment for x */
154+
let x = 44
155+
156+
/*** module level doc comment 2 */
157+
}

0 commit comments

Comments
 (0)