julia
2fbf5d85 - fix fallback code path in `take!(::IOBuffer)` method (#58762)

Commit
317 days ago
fix fallback code path in `take!(::IOBuffer)` method (#58762) JET told me that the `data` local variable was inparticular is undefined at this point. After reviewing this code, I think this code path is unreachable actually since `bytesavailable(io::IOBuffer)` returns `0` when `io` has been closed. So it's probably better to make it clear.
Author
Parents
Loading