From 6bbd0d4bd50854e6086520541cea737103a33380 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Thu, 27 Nov 2025 00:14:29 +0000 Subject: [PATCH] Use `realpath` for query normalization Goes with https://github.com/timholy/Revise.jl/pull/974 --- src/CodeTracking.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CodeTracking.jl b/src/CodeTracking.jl index 1fb6195..58281a7 100644 --- a/src/CodeTracking.jl +++ b/src/CodeTracking.jl @@ -160,7 +160,9 @@ Returns `nothing` if there are no methods at that location. """ function signatures_at(filename::AbstractString, line::Integer) if !startswith(filename, "REPL[") - filename = abspath(filename) + if ispath(filename) + filename = realpath(filename) + end end if occursin(juliabase, filename) rpath = postpath(filename, juliabase)