-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
store location of loop boundary #41857
Conversation
Since lowering always inserts gotos and other instructions after loop bodies, this allows debuggers to give a more useful location for these instructions. fixes JuliaDebug/JuliaInterpreter.jl#485
The failure in Distributed shows this could potentially be an issue for macros, so we should do a PkgEval run. |
@nanosoldier |
Your package evaluation job has completed - possible new issues were detected. A full report can be found here. |
Ok, a lot of the failures do seem to be real. ChainRulesTestUtils and Cthulhu are probably ok, since they are testing Base internals, but Hyperopt and InteractBase seem to have similar issues as Are we ok with just fixing those packages, or is this change a bit too risky? Alternatively, we could also make the LineNumberNode part of the |
Can you elaborate on why this broke the macro? |
The macros extract the loop bodies and actually use the return value of that |
vtjnash says we should probably fix those packages first, then it might be ok to do this. |
* fix `@manipulate` for upcoming base changes ref JuliaLang/julia#41857 * fix
OK, all affected packages should now have been fixed. Could I get a review? |
I don't think this should be backported |
Since lowering always inserts gotos and other instructions after loop bodies, this allows debuggers to give a more useful location for these instructions. fixes JuliaDebug/JuliaInterpreter.jl#485
Since lowering always inserts gotos and other instructions after loop bodies, this allows debuggers to give a more useful location for these instructions. fixes JuliaDebug/JuliaInterpreter.jl#485
Since lowering always inserts gotos and other instructions after loop bodies, this allows debuggers to give a more useful location for these instructions. fixes JuliaDebug/JuliaInterpreter.jl#485
Since lowering always inserts gotos and other instructions after loop
bodies, this allows debuggers to give a more useful location for these
instructions.
fixes JuliaDebug/JuliaInterpreter.jl#485