[swift-evolution] Proposal: Re-instate mandatory self for accessing instance properties and functions
david at hartbit.com
Mon Dec 14 01:12:43 CST 2015
> On 13 Dec 2015, at 22:45, Charles Srstka via swift-evolution <swift-evolution at swift.org> wrote:
> Since opinions seem to be divided on this, how about adding an optional warning flag to the compiler, which would warn if one accessed an instance variable or method without self. in front?
That is a good alternative.
More information about the swift-evolution