Skip to content

Commit

Permalink
Fix breakage after base unexported at-with
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Mar 31, 2024
1 parent 40fe388 commit 8aeedc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Suppressor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if has_logstate
else
macro with_logstate(logstate, expr)
quote
Base.@with($(Base.CoreLogging.CURRENT_LOGSTATE) => $(esc(logstate)), $(esc(expr)))
Base.ScopedValues.@with($(Base.CoreLogging.CURRENT_LOGSTATE) => $(esc(logstate)), $(esc(expr)))
end
end
end
Expand Down

0 comments on commit 8aeedc6

Please sign in to comment.