Skip to content

Fix generic type shadowing to avoid Swift 6 incompatibility#174

Merged
lucaszischka merged 1 commit intolucaszischka:mainfrom
alemohamad:fix/custom-background-swift-6
May 8, 2025
Merged

Fix generic type shadowing to avoid Swift 6 incompatibility#174
lucaszischka merged 1 commit intolucaszischka:mainfrom
alemohamad:fix/custom-background-swift-6

Conversation

@alemohamad
Copy link
Copy Markdown
Contributor

What’s changed

Renamed the generic type in customBackground() to Content to avoid shadowing V from the surrounding type. This prevents a compiler error in Swift 6, where generic type shadowing is disallowed. This change ensures future compatibility.

@alemohamad
Copy link
Copy Markdown
Contributor Author

@lucaszischka hope you can see this PR and merge it so we can keep using this project.

@lucaszischka lucaszischka merged commit 024e9b4 into lucaszischka:main May 8, 2025
2 checks passed
@alemohamad
Copy link
Copy Markdown
Contributor Author

Thanks! Whenever you can, please create a new minor release tag.

@alemohamad alemohamad deleted the fix/custom-background-swift-6 branch May 8, 2025 10:19
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.

2 participants