<p dir="ltr">Other possible solution: why not just remove the default &quot;newValue&quot; and force the user to manually specify it instead? </p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 15, 2015, 6:02 PM Marc Knaup via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everyone,</div><div><br></div><div>I would like to propose yielding a warning when a property&#39;s getter is used from within its setter implicitly without using &quot;self.&quot;.</div><div><br></div><div>This can lead to programming errors which are very easy to miss and lead to unexpected behavior at runtime.</div><div><br></div><div>Check out the full proposal here:</div><a href="https://github.com/fluidsonic/swift-evolution/blob/master/proposals/NNNN-warn-about-implicit-property-access-in-own-setter.md" target="_blank">https://github.com/fluidsonic/swift-evolution/blob/master/proposals/NNNN-warn-about-implicit-property-access-in-own-setter.md</a><br><div><br></div><div>Thank you,</div><div>  Marc</div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=8CZIdLciSFC-2BO5jF-2FiP8qN7dBFsgCUZ50wdTsolcRPf8FzAFZH7Vojj-2FW-2Fe7CaA-2BUfJqByzjU-2FgIsB9LwTat5ylA4xlwdmWyy1fZ1GfLpWivP1BZAnm2LJnmmAx-2BY2boAOWEPYoTAMKxB95HEB4ztSN33sH-2FY2-2BcjaE0NqXueQEiAF3or4-2Fh35V0aB7oB59gtXMYLXl8iTxC7QseJu24kB9a8qiBpZm31VMGrtfyTFM-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div>