We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8474332 commit 24b69f5Copy full SHA for 24b69f5
test/Constraints/keypath.swift
@@ -186,4 +186,5 @@ func SR13442<T>(_ x: KeyPath<String?, T>) -> T { "1"[keyPath: x] }
186
func testSR13442() {
187
_ = SR13442(\.!.count) // OK
188
_ = SR13442(\String?.!.count) // OK
189
+ let _: KeyPath<Int?, Int> = \Optional.!
190
}
0 commit comments