[swift-evolution] [Pitch] merge types and protocols back together with type<Type, Protocol, ...>

Adrian Zubarev adrian.zubarev at devandartist.com
Mon May 23 05:08:44 CDT 2016


I’ll fix that. I also forgot to change Impact on existing code section. I’ll do that when Austin had time to look at it.

This proposal will break protocol A: class {} if we get protocol A: Any<class> {} as replacement.



-- 
Adrian Zubarev
Sent with Airmail

Am 23. Mai 2016 bei 02:52:31, Matthew Johnson (matthew at anandabits.com) schrieb:

Looks pretty good.  Just one minor correction.

Under not valid examples that may be supported in the future you have this:

extension A where Self == UIView  

Where you should have this:

extension A where Self : UIView  

Sent from my iPad

On May 21, 2016, at 7:42 AM, Adrian Zubarev via swift-evolution <swift-evolution at swift.org> wrote:

Proposal was updated as an enhancement proposal to SE–0095. You can read the new draft here:

https://github.com/DevAndArtist/swift-evolution/blob/classes_in_any_existential/proposals/nnnn-classes-in-any-existential.md
@Austin: I used some peaces of your enhancement proposal and you’re co-author to this proposal now. If you want to polish something feel free to submit a PR.

What else do we need in this proposal?


-- 
Adrian Zubarev
Sent with Airmail
_______________________________________________
swift-evolution mailing list
swift-evolution at swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160523/6ff12d04/attachment.html>


More information about the swift-evolution mailing list