Skip to content

Commit

Permalink
Adjust to upcoming change in world age semantics (#864)
Browse files Browse the repository at this point in the history
Upcoming base PR JuliaLang/julia#56509 makes precise
when exactly world age increments automatically at top-level. Packages are
mostly not supposed to notice, but of course Revise is a bit patholgical in
that it does basically expect asynchronous changes to have top level effects.
After that PR, that requires an explicit opt-in. This PR makes the appropriate
adjustments to the tests.
  • Loading branch information
Keno authored Nov 15, 2024
1 parent 2a1e0bd commit a1de593
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 66 deletions.
6 changes: 6 additions & 0 deletions test/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ else
end

yry() = (sleep(mtimedelay); revise(); sleep(mtimedelay))
macro yry()
esc(quote
yry()
@latestworld
end)
end

function collectexprs(rex::Revise.RelocatableExpr)
items = []
Expand Down
Loading

0 comments on commit a1de593

Please sign in to comment.