Re:Using Swift with Cocoa and Objective-C
by dunham on Friday June 13, 2014 @12:31PM
(#7889639)
Yeah, I managed to crash the compiler (SEGV) with AnyObject! casting. (I got the wrong idiom for iterating through an AnyObject[] )
The code contained a type error that the XCode compiler either missed or crashed before reporting. The command line compiler detected and reported my error.
I guess not telling us the "right" way enables us to fuzz test the compiler. :)
The code contained a type error that the XCode compiler either missed or crashed before reporting. The command line compiler detected and reported my error.
I guess not telling us the "right" way enables us to fuzz test the compiler. :)