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.
2 parents 4133ead + 24b69f5 commit 6f73933Copy full SHA for 6f73933
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