diff --git a/Project.toml b/Project.toml index 14a6f515..da0b890d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Revise" uuid = "295af30f-e4ad-537b-8983-00126c2a3abe" -version = "3.5.8" +version = "3.5.9" [deps] CodeTracking = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2" diff --git a/src/loading.jl b/src/loading.jl index d8512863..f7f57660 100644 --- a/src/loading.jl +++ b/src/loading.jl @@ -4,8 +4,10 @@ function pkg_fileinfo(id::PkgId) cachepath = origin.cachepath cachepath === nothing && return nothing, nothing, nothing provides, includes_requires, required_modules = try - @static if VERSION ≥ v"1.11.0-DEV.683" - Base.parse_cache_header(cachepath) + @static if VERSION ≥ v"1.11.0-DEV.683" # https://github.com/JuliaLang/julia/pull/49866 + provides, (_, includes_srcfiles_only, requires), required_modules, _... = + Base.parse_cache_header(cachepath) + provides, (includes_srcfiles_only, requires), required_modules else Base.parse_cache_header(cachepath, srcfiles_only = true) end