Skip to content

Commit a1de593

Browse files
authored
Adjust to upcoming change in world age semantics (#864)
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.
1 parent 2a1e0bd commit a1de593

File tree

2 files changed

+99
-66
lines changed

2 files changed

+99
-66
lines changed

test/common.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ else
2424
end
2525

2626
yry() = (sleep(mtimedelay); revise(); sleep(mtimedelay))
27+
macro yry()
28+
esc(quote
29+
yry()
30+
@latestworld
31+
end)
32+
end
2733

2834
function collectexprs(rex::Revise.RelocatableExpr)
2935
items = []

0 commit comments

Comments
 (0)