[SR-5286] Protocols with circular associated types constraints does not compile when definitions are in different files(works within one file) #47861
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
serialization
Area → compiler: Serialization & deserialization
Attachment: Download
Environment
Xcode 9 Beta 2, Swift 4.0
Additional Detail from JIRA
md5: 88e6dcd62f1028b82f4a7166bea38631
Issue Description:
I'm using associated types constraints in following way:
Everything works well when protocols are defined within the single file. This feature started working in Swift 4.
When divided into two files(there are more protocols in our production code so it has to be that way) - compiler fails. I'm attaching project in which this behavior is happening.
Also, please look at the log:
The text was updated successfully, but these errors were encountered: