[swift-evolution] [Pitch] Make the formal type of 'self' consistent in class methods
atrick at apple.com
Thu Jun 23 15:46:52 CDT 2016
> On Jun 23, 2016, at 12:53 PM, Slava Pestov via swift-evolution <swift-evolution at swift.org> wrote:
> The proposal is to change the type of self to always be Self, which can be thought of as a special generic type parameter bound to the dynamic type of the instance.
We’re currently specializing functions that take `self` as an argument. I don’t think that will be possible after your proposed change.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution