fix position invalid test

This commit is contained in:
vbot 2024-07-30 17:58:01 +02:00
parent 9d5052147a
commit f5b9e5df2d
No known key found for this signature in database
GPG Key ID: A2CE1BDBED95DA38

View File

@ -135,7 +135,7 @@ let format_loc_text_parts (pos : t) =
let ic, input_line_opt =
let from_contents =
match Global.options.input_src with
| Contents (str, _) when str = filename -> Some str
| Contents (str, uri) when uri = filename -> Some str
| _ -> None
in
match from_contents with