mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update master to build with Xcode 9 beta 1, OS X 10.13, iOS 11, tvOS 11, and watchOS 4 SDKs.
This commit is contained in:
@@ -20,3 +20,9 @@ extension NSExpression {
|
||||
self.init(format: expressionFormat, arguments: va_args)
|
||||
}
|
||||
}
|
||||
|
||||
extension NSExpression {
|
||||
public convenience init<Root, Value>(forKeyPath keyPath: KeyPath<Root, Value>) {
|
||||
self.init(forKeyPath: _bridgeKeyPathToString(keyPath))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user