File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 41
41
42
42
- Fix issue with references to elements defined in an interface file https://github.com/rescript-lang/rescript-vscode/pull/646
43
43
44
+ - Fix issue with references to elements defined in an interface file https://github.com/rescript-lang/rescript-vscode/issues/645
45
+
44
46
## v1.8.2
45
47
46
48
#### :rocket : New Feature
Original file line number Diff line number Diff line change @@ -172,9 +172,11 @@ let references ~path ~pos ~debug =
172
172
| Some loc -> loc
173
173
| None -> Uri. toTopLevelLoc uri2
174
174
in
175
- Protocol. stringifyLocation
176
- {uri = Uri. toString uri2; range = Utils. cmtLocToRange loc}
177
- :: acc)
175
+ if loc.loc_ghost then acc
176
+ else
177
+ Protocol. stringifyLocation
178
+ {uri = Uri. toString uri2; range = Utils. cmtLocToRange loc}
179
+ :: acc)
178
180
[] )
179
181
in
180
182
print_endline
You can’t perform that action at this time.
0 commit comments