Hi all,
since you mentioned:
> Individuals or teams that feel that explicit “self.” is beneficial for
their own code bases can enforce such a coding convention via tooling with
the status quo.
Are there any existing tools that already do that? I was hoping for a
compiler flag where one could
You can probably use SwiftLint (https://github.com/realm/SwiftLint) and
create a new rule.
On Wed, Jan 6, 2016 at 9:17 AM, Honza Dvorsky via swift-evolution <
swift-evolution@swift.org> wrote:
> Hi all,
>
> since you mentioned:
> > Individuals or teams that feel that explicit “self.” is
> On Jan 6, 2016, at 11:47 AM, Douglas Gregor via swift-evolution
> wrote:
>
>
>> On Jan 6, 2016, at 6:56 AM, Greg Parker via swift-evolution
>> wrote:
>>
>>
>>> On Jan 6, 2016, at 6:17 AM, Honza Dvorsky via swift-evolution
>>>
Thanks Trent, I created an issue an there seems to be will to add it as an
opt-in rule: https://github.com/realm/SwiftLint/issues/321
Greg and Doug, thanks for the details, I didn't realize that there aren't
any language flags yet. In that case, I agree that moving this
responsibility to a tool
> On Jan 6, 2016, at 6:56 AM, Greg Parker via swift-evolution
> wrote:
>
>
>> On Jan 6, 2016, at 6:17 AM, Honza Dvorsky via swift-evolution
>> wrote:
>>
>> I remember this being discussed in the conversation about this proposal and
>>
> On Jan 6, 2016, at 8:56 AM, Greg Parker via swift-evolution
> wrote:
>
>> On Jan 6, 2016, at 6:17 AM, Honza Dvorsky via swift-evolution
>> > wrote:
>>
>> I remember this being discussed in the
On Wed, Jan 6, 2016 at 2:18 PM, Charles Srstka via swift-evolution <
swift-evolution@swift.org> wrote:
>
> I just spent a half hour last night debugging an issue that turned out to
> be caused by something getting written to a property which I thought was
> being written to a local variable, due
> On Jan 6, 2016, at 1:34 PM, T.J. Usiyan wrote:
>
> On Wed, Jan 6, 2016 at 2:18 PM, Charles Srstka via swift-evolution
> > wrote:
>
> I just spent a half hour last night debugging an issue that turned out to be
The review of SE-0009 "Require self for accessing instance members`" ran from
December 16–20, 2015. The proposal has been rejected.
https://github.com/apple/swift-evolution/blob/master/proposals/0009-require-self-for-accessing-instance-members.md