Skip to content

Conversation

@hamishknight
Copy link
Contributor

@hamishknight hamishknight commented Jul 10, 2025

6.2 cherry-pick of #82966

  • Explanation: Fixes a crash that could occur when starting a rename of a function in cases where there are calls that have too many arguments, including in comments
  • Scope: Affects rename
  • Issue: rdar://155549979
  • Risk: Low, only affects rename, and the fix purely guards against cases that would otherwise crash
  • Testing: Added tests to test suite
  • Reviewer: Ben Barham

Make sure we bail if we don't have enough labels in the old name when
matching against a found reference.

rdar://155549979
@hamishknight hamishknight requested a review from bnbarham July 10, 2025 20:47
@hamishknight hamishknight requested a review from a team as a code owner July 10, 2025 20:47
@hamishknight hamishknight added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jul 10, 2025
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test Windows

@hamishknight hamishknight enabled auto-merge July 11, 2025 09:10
@hamishknight hamishknight merged commit 9fb2e2f into swiftlang:release/6.2 Jul 11, 2025
5 checks passed
@hamishknight hamishknight deleted the len-check-6.2 branch July 11, 2025 13:56
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