[SR-5429] first(where:) on AnySequence no longer compiles #48003
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.0
type checker
Area → compiler: Semantic analysis
Environment
Xcode 9 beta 3
(current trunk is currently not compiling)
Additional Detail from JIRA
md5: 6ec68462e50529dcc894c2159e855ad6
blocks:
Issue Description:
If AnySequence has a generic parameter to a function as its element type, trying to use .first(where:) on that sequence will fail to compile:
I believe that this worked in Xcode 9 beta 2, making this a regression.
The text was updated successfully, but these errors were encountered: