File tree 2 files changed +20
-2
lines changed
2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ module TypeSustitutionRecords = {
161
161
type bar = {age : int }
162
162
type foobar = foo <bar >
163
163
164
+ // ^db+
165
+
164
166
let x1 : foo <bar > = {content : {age : 42 }, zzz : "" }
165
167
// ^hov
166
168
let x2 : foobar = {content : {age : 42 }, zzz : "" }
Original file line number Diff line number Diff line change @@ -104,9 +104,25 @@ Hover src/Hover.res 142:9
104
104
Hover src/Hover.res 146:6
105
105
{"contents": "```rescript\nint\n```\n\n doc comment 2 "}
106
106
107
- Hover src/Hover.res 163:23
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<'a> (LocalReference Field(content))
116
+ [ref] Local defn Field(content)
108
117
{"contents": "```rescript\nfoo<'a>\n```\n\n```rescript\ntype foo<'a> = {content: 'a, zzz: string}\n```"}
109
118
110
- Hover src/Hover.res 165:22
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 foo<'a> NotFound
111
127
{"contents": "```rescript\nfoo<'a>\n```\n\n```rescript\ntype foo<'a> = {content: 'a, zzz: string}\n```"}
112
128
You can’t perform that action at this time.
0 commit comments