Commits

Jordan Rose committed 177588d1a85
Only allow collections to contain @objc types in @objc methods and properties. We allow any array of bridgeable types to be converted to NSArray (and similar for Dictionary and Set), but to be part of an API is a little stricter. Previously, '[MySwiftObject]' as a parameter would get exposed to Objective-C as 'NSArray *', but that's not type-safe at all---and in corner cases, crashd in the ObjC printer. Now we just don't allow that. On the plus side, '[Int]' is now exposed as 'NSArray<NSNumber *> *', which is a fair amount better than just 'NSArray *'. rdar://problem/19787270 Swift SVN r30719