You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good point. But someone should still do that work in parallel with the implementation. The last time we thought we had a complete working implementation of this (or a similar?) feature, Dmitri tried to use it in the stdlib and kept finding problems.
This bug tracks implementing the parser and type checker support for a typealias decl inside a protocol decl.
Note that we could already define a typealias inside a protocol extension, which is a bit buggy because of some name lookup issues, as Dmitri discovered. However those are separate issues that we can address without breaking source compatibility.
Additional Detail from JIRA
md5: 0c6cafc478b160c55238bd9a26023872
Issue Description:
SE-0092 was recently accepted:
https://github.com/apple/swift-evolution/blob/master/proposals/0092-typealiases-in-protocols.md
We need an implementation of this feature.
The text was updated successfully, but these errors were encountered: