@@ -191,25 +191,47 @@ ContextPath Value[usr]
191191Path 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 230 :20
194+ Hover src/Hover.res 229 :20
195195{"contents": {"kind": "markdown", "value": "```rescript\nint\n```\n\n More Stuff "}}
196196
197- Hover src/Hover.res 233 :17
197+ Hover src/Hover.res 232 :17
198198{"contents": {"kind": "markdown", "value": "```rescript\nint\n```\n\n More Stuff "}}
199199
200- Hover src/Hover.res 245 :6
200+ Hover src/Hover.res 244 :6
201201Nothing at that position. Now trying to use completion.
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]
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]
204204Completable: Cpath Value[x].someField
205205ContextPath Value[x].someField
206206ContextPath Value[x]
207207Path x
208208{"contents": {"kind": "markdown", "value": "```rescript\nbool\n```\n\n Mighty fine field here. "}}
209209
210- Hover src/Hover.res 248 :19
210+ Hover src/Hover.res 247 :19
211211{"contents": {"kind": "markdown", "value": "```rescript\nbool\n```\n\n Mighty fine field here. "}}
212212
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"}}
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"}}
215+
216+ Hover src/Hover.res 256:23
217+ 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]
220+ Completable: Cpath Value[fff]
221+ ContextPath Value[fff]
222+ Path fff
223+ ContextPath string
224+ {"contents": {"kind": "markdown", "value": "```rescript\nstring\n```"}}
225+
226+ Hover src/Hover.res 259:33
227+ 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]
230+ Completable: Cpath Value[someField]
231+ ContextPath Value[someField]
232+ Path someField
233+ ContextPath CPatternPath(Value[x])->recordField(someField)
234+ ContextPath Value[x]
235+ Path x
236+ {"contents": {"kind": "markdown", "value": "```rescript\nbool\n```"}}
215237
0 commit comments