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

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?

This was a bug in Pkg that ended up hitting Julia 1.1 — see Pkg does a nonsensical type piracy. · Issue #1034 · JuliaLang/Pkg.jl · GitHub. 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

Done.

3 Likes