@@ -20,13 +20,13 @@ Hover src/Hover.res 33:4
20
20
{"contents": "```rescript\nunit => int\n```\n\nDoc comment for functionWithTypeAnnotation"}
21
21
22
22
Hover src/Hover.res 37:13
23
- getLocItem #5: SX and compiler combined:
23
+ getLocItem #5: heuristic for JSX and compiler combined:
24
24
~x becomes Props#x
25
25
heuristic for: [Props, x], give loc of `x`
26
26
{"contents": "```rescript\nstring\n```"}
27
27
28
28
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):
30
30
(~arg:t) becomes Props#arg
31
31
Props has the location range of arg:t
32
32
arg has the location range of arg
@@ -55,12 +55,12 @@ Hover src/Hover.res 75:7
55
55
{"contents": "```rescript\nmodule A = {\n let x: int\n}\n```"}
56
56
57
57
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>
59
59
heuristic for: [makeProps , React.null, make, createElementVariadic], give the loc of `make`
60
60
{"contents": "```rescript\nReact.component<{\"children\": React.element}>\n```\n\n```rescript\ntype component<'props> = componentLike<'props, element>\n```"}
61
61
62
62
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>
64
64
heuristic for: [makeProps , React.null, make, createElementVariadic], give the loc of `make`
65
65
{"contents": "```rescript\nReact.component<{\"children\": React.element}>\n```\n\n```rescript\ntype component<'props> = componentLike<'props, element>\n```"}
66
66
0 commit comments