Skip to content

[CS] Handle packs in increaseScoreForGenericParamPointerConversion#85410

Merged
hamishknight merged 1 commit into
swiftlang:mainfrom
hamishknight:pack-fix
Nov 11, 2025
Merged

[CS] Handle packs in increaseScoreForGenericParamPointerConversion#85410
hamishknight merged 1 commit into
swiftlang:mainfrom
hamishknight:pack-fix

Conversation

@hamishknight

Copy link
Copy Markdown
Contributor

Missed this in #84907, handle pack parameters the same as regular generic parameters, ensuring we don't prefer a pack overload over a generic overload just because there are pointer conversions involved. Note this doesn't fix the wider issue of rdar://122011759, I'm planning on looking into that in a follow-up.

Missed this in my original patch, handle pack parameters the same as
regular generic parameters, ensuring we don't prefer a pack overload
over a generic overload just because there are pointer conversions
involved. Note this doesn't fix the wider issue of rdar://122011759,
I'm planning on looking into that in a follow-up.
@hamishknight

Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@hamishknight

Copy link
Copy Markdown
Contributor Author

@swift-ci please test source compatibility

@hamishknight hamishknight merged commit de51fed into swiftlang:main Nov 11, 2025
6 of 7 checks passed
@hamishknight hamishknight deleted the pack-fix branch November 11, 2025 09:08
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