Skip to content

Commit

Permalink
Help inference of uninferred callers of read(::IO, ::Type{String}) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr authored Sep 15, 2022
1 parent 4026246 commit 0fabe54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ function read(s::IO, nb::Integer = typemax(Int))
return resize!(b, nr)
end

read(s::IO, ::Type{String}) = String(read(s))
read(s::IO, ::Type{String}) = String(read(s)::Vector{UInt8})
read(s::IO, T::Type) = error("The IO stream does not support reading objects of type $T.")

## high-level iterator interfaces ##
Expand Down

2 comments on commit 0fabe54

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

Please sign in to comment.