-
Notifications
You must be signed in to change notification settings - Fork 112
minimal evaluation for loading.jl makes Julia internals broken #903
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
Comments
Have you checked this on #894 yet? I've seem some things like this before but not since I've been running with that PR. But I don't think I checked loading.jl specifically. |
Whoops, this issue seems to have been fixed on #894! |
No "whoops" needed, that's not merged yet. My guess is that it's the change in #894 that made Lines 454 to 456 in 5105f0a
mode :
if mode === :sigs && stmt.head === :const && (a = stmt.args[1]) isa GlobalRef && @invokelatest(isdefined(mod, a.name))
# avoid redefining types unless we have to
pc = next_or_nothing!(frame)
else
pc = step_expr!(recurse, frame, stmt, true)
end I guess that wasn't an issue before bpart, but we could consider making that change independently of #894. |
Yes, that's right. |
xref #910 |
It seems like the minimal evaluation in Revise isn't working correctly against
loading.jl
(probably due to an issue with LoweredCodeUtils?).I've confirmed that this problem exists in v1.12 with the master branch of Revise/LoweredCodeUtils.jl.
I've also seen the issue even when using the PR that updates LCU.jl to be compatible with 1.12.
We can reproduce the problem like this:
If we run
maybe_extract_sigs!
onloading.jl
, the Pkg prompt gets messed up. After that, commands likest
will result in errors.The text was updated successfully, but these errors were encountered: