[swift-evolution] Proposal: Re-instate mandatory self for accessing instance properties and functions (David Hart)
dennis.s.lysenko at gmail.com
Mon Dec 14 22:12:53 CST 2015
Looks like the conversation is going in circles a bit. I believe Chris
Lattner said he was opposed to any compiler flags that would lead to
different dialects of Swift, and it's a valid concern, so I'm not sure how
feasible an optional compiler flag would be.
On Mon, Dec 14, 2015, 8:48 PM Kenny Leung via swift-evolution <
swift-evolution at swift.org> wrote:
> This sounds like a candidate for a compiler option to add a warning (or
> error) if you leave out self. It adds no overhead to the language, but if
> you like it, you can enforce it.
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution