-
Notifications
You must be signed in to change notification settings - Fork 115
fix includet using mod argument
#690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Weird errors on
==> Edit: fixed |
Base uses I think this change would break for a submodule of julia> Revise.track(Base)
julia> id = Base.PkgId(Base.Filesystem)
Base [top-level]
julia> pkgdata = Revise.pkgdatas[id]; # works
julia> id = Base.PkgId(Base.Filesystem, string(Base.Filesystem))
Base.Filesystem [top-level]
julia> pkgdata = Revise.pkgdatas[id]
ERROR: KeyError: key Base.Filesystem [top-level] not found
Stacktrace:
[1] getindex(h::Dict{Base.PkgId, Revise.PkgData}, key::Base.PkgId)
@ Base ./dict.jl:498
[2] top-level scope
@ REPL[10]:1Would it be worth first trying the version that's already in the code, and then if Thanks very much for the test! |
I see, good point.
Thanks for the hint. This is a good idea, I'll try to work something out now. |
|
Tests on |
|
Thanks! |
Fix #689.
Shouldn't all
PkgId(mod)be mapped toPkgId(mod, string(mod)(elsePkgId(mod)maps toPkgId(mod, "Main")) ?