From 8b080e79679ce482f5cbd262581ac6ffd985ff8e Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Thu, 28 Mar 2024 10:23:15 +0100 Subject: [PATCH] fix things when ScopedValue symbols are note exported from Base (#63) --- src/Suppressor.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Suppressor.jl b/src/Suppressor.jl index db4904e..e94bb86 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.@with($(Base.CoreLogging.CURRENT_LOGSTATE) => $(esc(logstate)), $(esc(expr))) end end end