You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
redundant_self false positives for properties clashing with local variables that were assigned via tuple destructuring #6553
redundant_self false positives for properties clashing with local variables that were assigned via tuple destructuring:
structS{leta:Intletb:Intinit(){let(a,b)=(1,2)self.a=a // spurious Redundant Self Violation: Explicit use of 'self' is not required (redundant_self)
self.b=b // spurious Redundant Self Violation: Explicit use of 'self' is not required (redundant_self)
}}
$ swiftlint --quiet --only-rule redundant_self --reporter relative-path S.swiftS.swift:7:3: warning: Redundant Self Violation: Explicit use of 'self' is not required (redundant_self)S.swift:8:3: warning: Redundant Self Violation: Explicit use of 'self' is not required (redundant_self)
Activity