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

**URL:** <https://discourse.julialang.org/t/unexpected-change-of-string-x-array-string-behave-in-julia-1-1-a-bug/21233>\
**Category:** General Usage\
**Created:** [February 26, 2019, 8:27pm UTC](https://discourse.julialang.org/t/unexpected-change-of-string-x-array-string-behave-in-julia-1-1-a-bug/21233 "2019-02-26T20:27:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jieyi\_Xiong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jieyi_xiong/32/32032_2.png) [@Jieyi\_Xiong](https://discourse.julialang.org/u/Jieyi_Xiong)\
**Post date:** [February 26, 2019, 8:27pm UTC](https://discourse.julialang.org/t/unexpected-change-of-string-x-array-string-behave-in-julia-1-1-a-bug/21233/1 "2019-02-26T20:27:42Z")

</div>

In Julia 1.1

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

```

However, in Julia 1.0

```julia
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?

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [February 26, 2019, 8:49pm UTC](https://discourse.julialang.org/t/unexpected-change-of-string-x-array-string-behave-in-julia-1-1-a-bug/21233/2 "2019-02-26T20:49:06Z")

</div>

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](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](https://github.com/JuliaLang/julia/pull/31116), but we should probably consider backporting a fix to 1.1.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [February 26, 2019, 9:10pm UTC](https://discourse.julialang.org/t/unexpected-change-of-string-x-array-string-behave-in-julia-1-1-a-bug/21233/3 "2019-02-26T21:10:44Z")

</div>

> [@mbauman](#):
>
> but we should probably consider backporting a fix to 1.1.

Done.
