[swift-evolution] Proposal: Re-instate mandatory self for accessing instance properties and functions (David Hart)

Dennis Lysenko 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.
>
> -Kenny
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151215/660ce9c3/attachment.html>


More information about the swift-evolution mailing list