Skip to content

Commit 600b244

Browse files
committed
No debug in hover test.
1 parent 3f43b39 commit 600b244

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

analysis/tests/src/Hover.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ module TypeSubstitutionRecords = {
161161
type bar = {age: int}
162162
type foobar = foo<bar>
163163

164-
// ^db+
165-
166164
let x1: foo<bar> = {content: {age: 42}, zzz: ""}
167165
// ^hov
168166
let x2: foobar = {content: {age: 42}, zzz: ""}

analysis/tests/src/expected/Hover.res.txt

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -104,25 +104,9 @@ Hover src/Hover.res 142:9
104104
Hover src/Hover.res 146:6
105105
{"contents": "```rescript\nint\n```\n\n doc comment 2 "}
106106

107-
108-
Hover src/Hover.res 165:23
109-
Ident!! Dep
110-
Ident!! JsLogger
111-
Ident!! A
112-
Ident!! B
113-
Ident!! Comp
114-
locItems:
115-
165:22-165:29 Typed content foo<bar> (LocalReference Field(content))
116-
[ref] Local defn Field(content)
107+
Hover src/Hover.res 163:23
117108
{"contents": "```rescript\nfoo<bar>\n```\n\n```rescript\ntype foo<'a> = {content: 'a, zzz: string}\n```"}
118109

119-
Hover src/Hover.res 167:22
120-
Ident!! Dep
121-
Ident!! JsLogger
122-
Ident!! A
123-
Ident!! B
124-
Ident!! Comp
125-
locItems:
126-
167:20-167:27 Typed content foobar NotFound
110+
Hover src/Hover.res 165:22
127111
{"contents": "```rescript\nfoobar\n```\n\n```rescript\ntype foobar = foo<bar>\n```"}
128112

0 commit comments

Comments
 (0)