We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
string(::LazyLibraryPath)
1 parent d8af2ed commit 1ad2982Copy full SHA for 1ad2982
base/libdl.jl
@@ -334,7 +334,7 @@ struct LazyLibraryPath
334
LazyLibraryPath(pieces::Vector) = new(pieces)
335
end
336
LazyLibraryPath(args...) = LazyLibraryPath(collect(args))
337
-Base.string(llp::LazyLibraryPath) = joinpath(string.(llp.pieces)...)::String
+Base.string(llp::LazyLibraryPath) = joinpath(String[string(p) for p in llp.pieces])
338
Base.cconvert(::Type{Cstring}, llp::LazyLibraryPath) = Base.cconvert(Cstring, string(llp))
339
# Define `print` so that we can wrap this in a `LazyString`
340
Base.print(io::IO, llp::LazyLibraryPath) = print(io, string(llp))
0 commit comments