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
unused_capture_list false positive with explicit capturing of unowned self in Swift 5.3 #3389
Same issue as #3267 but with unowned instead of strong.
Complete output when running SwiftLint, including the stack trace and command used
$ swiftlint lint Example.swift --no-cache
Linting Swift files at paths Example.swift
Linting 'Example.swift' (1/1)
Example.swift:14:50: warning: Unused Capture List Violation: Unused reference self in a capture list should be removed. (unused_capture_list)
Done linting! Found 1 violation, 0 serious in 1 file.
Environment
SwiftLint version (run swiftlint version to be sure)? 0.40.3
Installation method used (Homebrew, CocoaPods, building from source, etc)? Cocoapods
Paste your configuration file: none, unused_capture_list is enabled by default
Activity