Posts

Post marked as solved
6 Replies
interesting.. and this:dict["zizi"] = nilacts here the same way as "dict["zizi"] = nil as Dog??" deleting the key.are these two equivalent?any as? Dogany as? Dog?and these two:any as! Dogany! as! Dog
Post marked as solved
6 Replies
> any as! Dog?wow, looks strange, but does the trick indeed!thanksout of curiousity, how do i create "Dog??" or "Dog???"
Post not yet marked as solved
11 Replies
i now realize it was not obvious what and who i was referring to..John, if you compile the app with "-fobjc-arc -Werror" flag you'll notice it stops emitting the wanted warning / error.in other words this compiler bug is triggered only with "-fobjc-arc". switching ARC off is not an option for me in this case.
Post not yet marked as solved
11 Replies
apperently it is not fixed neither in clang-1001.0.46.3 (Xcode 10.2) nor in clang-1100.0.20.17 (Xcode 11 Beta 2)
Post not yet marked as solved
11 Replies
are you using arc at all? try with -fobjc-arc flag.i noticed that makes a difference.