Skip to content

Commit

Permalink
fix invalidations in logging (JuliaLang#46481)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Aug 30, 2022
1 parent acb773c commit 8a58592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/logging.jl
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ function handle_message(logger::SimpleLogger, level::LogLevel, message, _module,
end
buf = IOBuffer()
stream = logger.stream
if !isopen(stream)
if !(isopen(stream)::Bool)
stream = stderr
end
iob = IOContext(buf, stream)
Expand Down

0 comments on commit 8a58592

Please sign in to comment.