ClangImporter: Import unbounded NSSets and NSDictionaries using AnyHashable.

This commit is contained in:
Joe Groff
2016-07-25 16:20:27 -07:00
parent e884ab737d
commit 1e8dd0e34b
18 changed files with 100 additions and 51 deletions

View File

@@ -1180,7 +1180,8 @@ extension String {
/// values found in the `String`.
public
func propertyListFromStringsFileFormat() -> [String : String] {
return _ns.propertyListFromStringsFileFormat() as! [String : String]
return _ns.propertyListFromStringsFileFormat()! as [NSObject : AnyObject]
as! [String : String]
}
// - (NSRange)rangeOfCharacterFromSet:(NSCharacterSet *)aSet