Skip to content

Commit 68feddc

Browse files
authored
Fix invalidations for FileIO (#55593)
Fixes JuliaIO/FileIO.jl#396
1 parent 1463c99 commit 68feddc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/strings/io.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ function _join_preserve_annotations(iterator, args...)
365365
# in nature, we extract an `AnnotatedString`, otherwise we just extract
366366
# a plain `String` from `io`.
367367
if isconcretetype(et) || !isempty(io.annotations)
368-
read(seekstart(io), AnnotatedString{String})
368+
seekstart(io)
369+
read(io, AnnotatedString{String})
369370
else
370371
String(take!(io.io))
371372
end

0 commit comments

Comments
 (0)