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
This was created at WWDC 2019 in the Swift Labs with @slavapestov - with an indicative if not definitive code example. It was borne out of discussion of problems in my open source framework Flint:
This code used to use `typealias` instead of `associatedtype` but this produced "false" warnings and advice to constrain the protocol instead. However the above code "worked" but the constraint was required on the extension. Slava advised this:
However this would not allow conforming types to compile unless they also defined the associated types and this is the bug in question. Slava therefore recommended this workaround which seems to satisfy it, albeit oversatisfying the types:
Additional Detail from JIRA
md5: fddfa1e975a38ccef890a5c04e65bc5f
relates to:
Issue Description:
The text was updated successfully, but these errors were encountered: