From 578505271a42696b29f83c5d27c87eee9eb3e50e Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Mon, 17 Nov 2025 01:04:52 -0500 Subject: [PATCH] loading: rm no-op conditional in cache rejection Introduced in https://github.com/JuliaLang/julia/pull/55992 - looks like rebase mistake, the actually operating condition is equivalent modulo the extra readabilitycheck. --- base/loading.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/base/loading.jl b/base/loading.jl index 18b26794116ce..a8441184bebe8 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -4225,7 +4225,6 @@ end # file before comparing it with `modpath`. stdlib_path = fixup_stdlib_path(includes[1].filename) if !(isreadable(stdlib_path) && samefile(stdlib_path, modpath)) - !samefile(fixup_stdlib_path(includes[1].filename), modpath) @debug "Rejecting cache file $cachefile because it is for file $(includes[1].filename) not file $modpath" record_reason(reasons, "different source file path") return true # cache file was compiled from a different path