Skip to content

Commit eaed44b

Browse files
committed
log locItems
1 parent 9c0c887 commit eaed44b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

analysis/src/References.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ let locItemsForPos ~extra pos =
1919

2020
let locItemForPos ~full pos =
2121
let locItems = locItemsForPos ~extra:full.extra pos in
22+
if !Log.spamError then
23+
print_endline
24+
("locItems:\n"
25+
^ (locItems |> List.map locItemToString |> String.concat "\n"));
2226
match locItems with
2327
| _ :: _ :: _ :: l :: _ when full.file.uri |> Uri2.isInterface ->
2428
(* heuristic for makeProps in interface files *)

0 commit comments

Comments
 (0)