You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting incomplete package updates from Revise.jl 3.5.0 in Julia 1.8.2 Linux x64 (Docker on MacOS 13.1) which I managed to track to the following minimal example:
Example Package
src/Example.jl:
module Example
module A
include("a.jl")
endmodule B
include("a.jl")
endexport A, B
end
src/a.jl:
f(x) = y
Manifest.toml:
name = "Example"uuid = "1fcb2a49-e178-4b19-98f0-97e19ed5c4de"authors = ["Some Authors"]
version = "0.1.0"
[deps]
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
and empty test folder
Example Session (launched via julia --project on the package's dir):
julia> using Revise
julia> using Example
[ Info: Precompiling Example [1fcb2a49-e178-4b19-98f0-97e19ed5c4de]
julia> A.f(1)
ERROR: UndefVarError: y not defined
Stacktrace:
[1] f(x::Int64)
@ Example.A src/a.jl:1
[2] top-level scope
...
[Correct src/a.jl to be f(x) = x]
...
julia> A.f(1)
1
julia> B.f(1)
ERROR: UndefVarError: y not defined
Stacktrace:
[1] f(x::Int64)
@ Example.B src/a.jl:1
[2] top-level scope
In the example above B.f remains broken, even though a restart of the session would fix it
The text was updated successfully, but these errors were encountered:
Copied from this discourse thread
I am getting incomplete package updates from Revise.jl 3.5.0 in Julia 1.8.2 Linux x64 (Docker on MacOS 13.1) which I managed to track to the following minimal example:
Example Package
src/Example.jl
:src/a.jl
:Manifest.toml
:and empty
test
folderExample Session (launched via
julia --project
on the package's dir):In the example above
B.f
remains broken, even though a restart of the session would fix itThe text was updated successfully, but these errors were encountered: