Thanks - makes sense, not a major issue as this wont happen with locals in
the real world..


On Fri, Feb 14, 2014 at 9:19 AM, Milan Bouchet-Valat <[email protected]>wrote:

>  Le jeudi 13 février 2014 à 14:09 -0800, Fil Mackay a écrit :
>
> Can anyone explain why these produce two different types?
>
>
>
>  julia> a=["a"=>1,"b"=>2]
>
>  ["b"=>2,"a"=>1]
>
>
>
>  julia> typeof([i for i=a])
>
>  *Array{Any,1}*
>
>
>
>  julia> typeof([i for i=["a"=>1,"b"=>2]])
>
>  *Array{(ASCIIString,Int64),1}*
>
> I think you may be hitting this issue:
> https://github.com/JuliaLang/julia/issues/524
>
>
> Regards
>

Reply via email to