Thanks for the comment, Vladimir. 

> On 14 Apr 2016, at 18:14, Vladimir.S <sva...@gmail.com> wrote:
> 
> Well, actually we can compile :
> 
> var zz : [Any] = [[Int](), 1,  [2, 3], [[4, 5], [6, 7], [8, 9]]]
> 
Sure. I just wasn’t sure it was worth mentioning (it was a long post anyway): 
annotating the variable with `[Any]` is not preserving the leaf type nor does 
it do justice to the overall structure.

milos
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to