mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Look through bridgeFromObjectiveC calls to find forced casts within optional injections.
Fixes <rdar://problem/17003302>. Swift SVN r18563
This commit is contained in:
@@ -1039,7 +1039,7 @@ extension String {
|
||||
var result = Dictionary<String, String>()
|
||||
_ns.propertyListFromStringsFileFormat().enumerateKeysAndObjectsUsingBlock {
|
||||
key, value, stop in
|
||||
result[key! as String] = value! as String
|
||||
result[key! as String] = value! as? String
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user