Skip to content

Commit 2bfd98c

Browse files
committed
revert accidental change
1 parent 9d5000e commit 2bfd98c

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

Diff for: analysis/tests/src/Hover.res

+1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ let usr: useR = {
211211
// let f = usr
212212
// ^hov
213213

214+
214215
module NotShadowed = {
215216
/** Stuff */
216217
let xx_ = 10

Diff for: analysis/tests/src/expected/Hover.res.txt

+14-14
Original file line numberDiff line numberDiff line change
@@ -191,42 +191,42 @@ ContextPath Value[usr]
191191
Path usr
192192
{"contents": {"kind": "markdown", "value": "```rescript\nuseR\n```\n\n---\n\n```\n \n```\n```rescript\ntype useR = {x: int, y: list<option<r<float>>>}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Hover.res%22%2C200%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype r<'a> = {i: 'a, f: float}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Hover.res%22%2C101%2C0%5D)\n"}}
193193

194-
Hover src/Hover.res 229:20
194+
Hover src/Hover.res 230:20
195195
{"contents": {"kind": "markdown", "value": "```rescript\nint\n```\n\n More Stuff "}}
196196

197-
Hover src/Hover.res 232:17
197+
Hover src/Hover.res 233:17
198198
{"contents": {"kind": "markdown", "value": "```rescript\nint\n```\n\n More Stuff "}}
199199

200-
Hover src/Hover.res 244:6
200+
Hover src/Hover.res 245:6
201201
Nothing at that position. Now trying to use completion.
202-
posCursor:[244:6] posNoWhite:[244:5] Found expr:[244:3->244:14]
203-
Pexp_field [244:3->244:4] someField:[244:5->244:14]
202+
posCursor:[245:6] posNoWhite:[245:5] Found expr:[245:3->245:14]
203+
Pexp_field [245:3->245:4] someField:[245:5->245:14]
204204
Completable: Cpath Value[x].someField
205205
ContextPath Value[x].someField
206206
ContextPath Value[x]
207207
Path x
208208
{"contents": {"kind": "markdown", "value": "```rescript\nbool\n```\n\n Mighty fine field here. "}}
209209

210-
Hover src/Hover.res 247:19
210+
Hover src/Hover.res 248:19
211211
{"contents": {"kind": "markdown", "value": "```rescript\nbool\n```\n\n Mighty fine field here. "}}
212212

213-
Hover src/Hover.res 252:20
214-
{"contents": {"kind": "markdown", "value": "```rescript\nCoolVariant\n```\n\n Cool variant! \n\n```rescript\nvariant\n```\n\n---\n\n```\n \n```\n```rescript\ntype variant = CoolVariant | OtherCoolVariant\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Hover.res%22%2C250%2C0%5D)\n"}}
213+
Hover src/Hover.res 253:20
214+
{"contents": {"kind": "markdown", "value": "```rescript\nCoolVariant\n```\n\n Cool variant! \n\n```rescript\nvariant\n```\n\n---\n\n```\n \n```\n```rescript\ntype variant = CoolVariant | OtherCoolVariant\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Hover.res%22%2C251%2C0%5D)\n"}}
215215

216-
Hover src/Hover.res 256:23
216+
Hover src/Hover.res 257:23
217217
Nothing at that position. Now trying to use completion.
218-
posCursor:[256:23] posNoWhite:[256:22] Found expr:[256:22->256:25]
219-
Pexp_ident fff:[256:22->256:25]
218+
posCursor:[257:23] posNoWhite:[257:22] Found expr:[257:22->257:25]
219+
Pexp_ident fff:[257:22->257:25]
220220
Completable: Cpath Value[fff]
221221
ContextPath Value[fff]
222222
Path fff
223223
ContextPath string
224224
{"contents": {"kind": "markdown", "value": "```rescript\nstring\n```"}}
225225

226-
Hover src/Hover.res 259:33
226+
Hover src/Hover.res 260:33
227227
Nothing at that position. Now trying to use completion.
228-
posCursor:[259:33] posNoWhite:[259:32] Found expr:[259:31->259:40]
229-
Pexp_ident someField:[259:31->259:40]
228+
posCursor:[260:33] posNoWhite:[260:32] Found expr:[260:31->260:40]
229+
Pexp_ident someField:[260:31->260:40]
230230
Completable: Cpath Value[someField]
231231
ContextPath Value[someField]
232232
Path someField

0 commit comments

Comments
 (0)