From 66f0e109162542cc813c77c9ad1e732ec51dba6b Mon Sep 17 00:00:00 2001 From: Yichao Yu Date: Tue, 19 Mar 2024 17:31:39 -0400 Subject: [PATCH] Fix breakage after base unexported at-with --- src/Suppressor.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Suppressor.jl b/src/Suppressor.jl index db4904e..c99f90f 100644 --- a/src/Suppressor.jl +++ b/src/Suppressor.jl @@ -25,7 +25,7 @@ if has_logstate else macro with_logstate(logstate, expr) quote - @with($(Base.CoreLogging.CURRENT_LOGSTATE) => $(esc(logstate)), $(esc(expr))) + Base.ScopedValues.@with($(Base.CoreLogging.CURRENT_LOGSTATE) => $(esc(logstate)), $(esc(expr))) end end end