[swift-evolution] [Proposal] Warn about implicit property access in own setter

Marc Knaup marc at knaup.koeln
Tue Dec 15 17:02:42 CST 2015


Hello everyone,

I would like to propose yielding a warning when a property's getter is used
from within its setter implicitly without using "self.".

This can lead to programming errors which are very easy to miss and lead to
unexpected behavior at runtime.

Check out the full proposal here:
https://github.com/fluidsonic/swift-evolution/blob/master/proposals/NNNN-warn-about-implicit-property-access-in-own-setter.md

Thank you,
  Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151216/2fd94129/attachment.html>


More information about the swift-evolution mailing list