Skip to content

Keep unwrapped self in extensions for optional types#6396

Merged
SimplyDanny merged 1 commit intomainfrom
optional-self
Dec 27, 2025
Merged

Keep unwrapped self in extensions for optional types#6396
SimplyDanny merged 1 commit intomainfrom
optional-self

Conversation

@SimplyDanny
Copy link
Copy Markdown
Collaborator

Resolves #6390.

@SwiftLintBot
Copy link
Copy Markdown

SwiftLintBot commented Dec 26, 2025

19 Messages
📖 Building this branch resulted in a binary size of 27204.96 KiB vs 27204.38 KiB when built on main (0% larger).
📖 Linting Aerial with this PR took 0.77 s vs 0.77 s on main (0% slower).
📖 Linting Alamofire with this PR took 1.03 s vs 0.99 s on main (4% slower).
📖 Linting Brave with this PR took 6.84 s vs 6.83 s on main (0% slower).
📖 Linting DuckDuckGo with this PR took 22.73 s vs 22.74 s on main (0% faster).
📖 Linting Firefox with this PR took 11.04 s vs 11.01 s on main (0% slower).
📖 Linting Kickstarter with this PR took 7.66 s vs 7.7 s on main (0% faster).
📖 Linting Moya with this PR took 0.42 s vs 0.4 s on main (4% slower).
📖 Linting NetNewsWire with this PR took 2.3 s vs 2.28 s on main (0% slower).
📖 Linting Nimble with this PR took 0.68 s vs 0.66 s on main (3% slower).
📖 Linting PocketCasts with this PR took 7.13 s vs 7.14 s on main (0% faster).
📖 Linting Quick with this PR took 0.44 s vs 0.42 s on main (4% slower).
📖 Linting Realm with this PR took 3.23 s vs 3.25 s on main (0% faster).
📖 Linting Sourcery with this PR took 1.84 s vs 1.78 s on main (3% slower).
📖 Linting Swift with this PR took 4.35 s vs 4.32 s on main (0% slower).
📖 Linting SwiftLintPerformanceTests with this PR took 0.32 s vs 0.31 s on main (3% slower).
📖 Linting VLC with this PR took 1.1 s vs 1.1 s on main (0% slower).
📖 Linting Wire with this PR took 17.27 s vs 17.29 s on main (0% faster).
📖 Linting WordPress with this PR took 11.48 s vs 11.43 s on main (0% slower).

Generated by 🚫 Danger

@SimplyDanny SimplyDanny enabled auto-merge (squash) December 27, 2025 14:17
@SimplyDanny SimplyDanny merged commit 779c5ab into main Dec 27, 2025
27 checks passed
@SimplyDanny SimplyDanny deleted the optional-self branch December 27, 2025 14:39
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request Feb 26, 2026
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

redundant_self false positive in 0.63.0-rc.2 (optional extension)

2 participants