Skip to content

Commit caca939

Browse files
amiraliescristianoc
authored andcommitted
Fix checking for interface file on windows
1 parent 888c1ac commit caca939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analysis/src/References.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ let alternateDeclared ~(file : File.t) ~package declared tip =
192192
maybeLog "Have both!!";
193193
let resiUri = Uri2.fromPath resi in
194194
let resUri = Uri2.fromPath res in
195-
if resiUri = file.uri then
195+
if Uri2.isInterface file.uri then
196196
match ProcessCmt.getFullFromCmt ~uri:resUri with
197197
| None -> None
198198
| Some {file; extra} -> (

0 commit comments

Comments
 (0)