Hello.
I have a simple expression with Any and is not work. Why?

var dictarray: [[ String :  Any ]] = [[ "kek" :  nil ]] 

\\ Nil is not compatible with expected dictionary value type 'Any'




-- 

And in other hand this is work

var dictarray: [[ String :  Any ]] = [[:]]  \\ [[:]],  dictarray .count = 1


Седых Александр
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to