[swift-evolution] [PROPOSAL]Return subclass type to a protocol where a superclass is defined without the need for associatedtype
gwendal.roue at gmail.com
Mon Apr 18 05:00:10 CDT 2016
> Le 18 avr. 2016 à 11:53, Yogev Sitton <yogev.sitton at gmail.com> a écrit :
> Hi Gwendal,
> I’m actually trying to start a discussion that will change the current behavior of the language.
> That’s why I posted this on the swift-evolution mailing list and not swift-users.
OK Yogev. But what is the problem actually? If some of your code does not do what you want, is it because of the language, or is it because you still have to learn something about the language?
Associated types are not a "hack", they are a feature. Maybe you are not using it properly, you see?
If you would tell how those MyShapeProtocol objects are used, it may get clearer.
More information about the swift-evolution