Skip to content

Conversation

@ultramiraculous
Copy link
Contributor

(Cherry picking fe0191c)

…e `LValueType`s to not be tuples (swiftlang#85962)

In swiftlang#65125 (and beyond) `matchTypes`, has logic to attempt to wrap an
incoming parameter in a tuple under certain conditions that might help
with type expansion.

In the case the incoming type was backed by a `var`, it would be wrapped
by an `LValueType` then be subsequently mis-diagnosed as not-a-tuple.

More details in swiftlang#85924 , this this is also the cause of (and fix for)
swiftlang#85837 as well...
@ultramiraculous ultramiraculous requested a review from a team as a code owner December 12, 2025 18:13
@slavapestov
Copy link
Contributor

@swift-ci Please test

Copy link
Member

@hborla hborla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@slavapestov slavapestov merged commit d994b27 into swiftlang:release/6.3 Dec 13, 2025
5 checks passed
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.

3 participants