Unexpected change of string(X::Array{String}) behave in Julia 1.1 (a bug?)

#1

In Julia 1.1

julia> string(["aaa", "bba"])
2-element Array{String,1}:
 "aaa"
 "bba"

However, in Julia 1.0

julia> string(["aaa", "bba"])
"[\"aaa\", \"bba\"]"

I didn’t expect there is still such breaking change in Julia 1.1, and I haven’t seen it mentioned in the NEWS.md. Is it a bug or is it intended?

#2

This was a bug in Pkg that ended up hitting Julia 1.1 — see https://github.com/JuliaLang/Pkg.jl/issues/1034. It’s now fixed in 1.2-dev as It’ll be fixed in 1.2-dev once Pkg has been updated, but we should probably consider backporting a fix to 1.1.

1 Like
#3

Done.

3 Likes