Skip to content

Conversation

@nate-chandler
Copy link
Contributor

This function is called in one place in an assertion. It asserts that the function in question is the stdlib's swap. In language mode 6, the called value may be wrapped in a function_conversion_expr for @Sendable. That's irrelevant for the purposes of this assertion, so look through such conversions.

rdar://160692694

This function is called in one place in an assertion.  It asserts that
the function in question is the stdlib's swap.  In language mode 6, the
called value may be wrapped in a `function_conversion_expr` for
`@Sendable`.  That's irrelevant for the purposes of this assertion, so
look through such conversions.

rdar://160692694
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler marked this pull request as ready for review September 19, 2025 18:48
@nate-chandler nate-chandler merged commit 6cd7974 into swiftlang:main Sep 20, 2025
5 checks passed
@nate-chandler nate-chandler deleted the rdar160692694 branch September 20, 2025 06:24
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.

1 participant