Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented May 12, 2025

Cherry-pick #81422


  • Explanation:

    While building an initializer call the declaration reference should have the same implicitness as the call when it doesn't require thunking, otherwise don't attempt to mark autoclosures as non-implicit because it could break assumptions elsewhere.

  • Main Branch PR: [CSApply] Don't attempt to mark autoclosures as non-implicit #81422

  • Risk: Low (This is a narrow fix which could only be currently found by migration code).

  • Reviewed By: @AnthonyLatsis

  • Resolves: rdar://151157725

  • Testing: Added new tests to the test suite.

(cherry picked from commit 37e2f37)

While building an initializer call the declaration reference
should have the same implicitness as the call when it doesn't
require thunking, otherwise don't attempt to mark autoclosures
as non-implicit because it could break assumptions elsewhere.

(cherry picked from commit 37e2f37)
@xedin xedin requested a review from a team as a code owner May 12, 2025 17:44
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels May 12, 2025
@xedin xedin requested a review from hborla May 12, 2025 17:44
@xedin
Copy link
Contributor Author

xedin commented May 12, 2025

@swift-ci please test

@xedin xedin merged commit 336be3c into swiftlang:release/6.2 May 13, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒 release cherry pick Flag: Release branch cherry picks swift 6.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants