take!
after pushfirst!
reads garbage values
#54097
Milestone
take!
after pushfirst!
reads garbage values
#54097
Here is a MWE:
I think the issue is
julia/base/iobuffer.jl
Line 461 in d8b9810
using
StringVector(io.size)
instead ofStringVector(nbytes)
.The
pushfirst!
causes theIOBuffer
to have a nonzerooffset
field (added in #53192) which makesnbytes
andio.size
different.The text was updated successfully, but these errors were encountered: