Skip to content

Commit bdc5a07

Browse files
committed
Update Hover.res.txt
1 parent a099cb4 commit bdc5a07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Hover src/Hover.res 33:4
2020
{"contents": "```rescript\nunit => int\n```\n\nDoc comment for functionWithTypeAnnotation"}
2121

2222
Hover src/Hover.res 37:13
23-
getLocItem #5: SX and compiler combined:
23+
getLocItem #5: heuristic for JSX and compiler combined:
2424
~x becomes Props#x
2525
heuristic for: [Props, x], give loc of `x`
2626
{"contents": "```rescript\nstring\n```"}
2727

2828
Hover src/Hover.res 41:13
29-
getLocItem #7: JSX on type-annotated labeled (~arg:t):
29+
getLocItem #7: heuristic for JSX on type-annotated labeled (~arg:t):
3030
(~arg:t) becomes Props#arg
3131
Props has the location range of arg:t
3232
arg has the location range of arg
@@ -55,12 +55,12 @@ Hover src/Hover.res 75:7
5555
{"contents": "```rescript\nmodule A = {\n let x: int\n}\n```"}
5656

5757
Hover src/Hover.res 85:10
58-
getLocItem #9: JSX variadic, e.g. <C> {x} {y} </C>
58+
getLocItem #9: heuristic for JSX variadic, e.g. <C> {x} {y} </C>
5959
heuristic for: [makeProps , React.null, make, createElementVariadic], give the loc of `make`
6060
{"contents": "```rescript\nReact.component<{\"children\": React.element}>\n```\n\n```rescript\ntype component<'props> = componentLike<'props, element>\n```"}
6161

6262
Hover src/Hover.res 88:10
63-
getLocItem #9: JSX variadic, e.g. <C> {x} {y} </C>
63+
getLocItem #9: heuristic for JSX variadic, e.g. <C> {x} {y} </C>
6464
heuristic for: [makeProps , React.null, make, createElementVariadic], give the loc of `make`
6565
{"contents": "```rescript\nReact.component<{\"children\": React.element}>\n```\n\n```rescript\ntype component<'props> = componentLike<'props, element>\n```"}
6666

0 commit comments

Comments
 (0)