Skip to content

Commit 8a58592

Browse files
committed
fix invalidations in logging (JuliaLang#46481)
1 parent acb773c commit 8a58592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/logging.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ function handle_message(logger::SimpleLogger, level::LogLevel, message, _module,
669669
end
670670
buf = IOBuffer()
671671
stream = logger.stream
672-
if !isopen(stream)
672+
if !(isopen(stream)::Bool)
673673
stream = stderr
674674
end
675675
iob = IOContext(buf, stream)

0 commit comments

Comments
 (0)