Skip to content

Commit abd711c

Browse files
authored
Merge pull request #10875 from rudkx/fix-rdar33043106
2 parents 9f68dee + 82cc37f commit abd711c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Constraints/tuple_arguments.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,3 +1574,7 @@ func rdar33159366(s: AnySequence<Int>) {
15741574
let a = Array(s)
15751575
_ = a.flatMap(itsFalse)
15761576
}
1577+
1578+
func sr5429<T>(t: T) {
1579+
_ = AnySequence([t]).first(where: { (t: T) in true })
1580+
}

0 commit comments

Comments
 (0)