Skip to content

[6.2] ASTPrinter: Fix printing of let properties inside @objc @implementation extensions #82051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Jun 6, 2025

6.2 cherry-pick of #82048

  • Description: Fix an edge case where we emit a broken module interface file for a @objc @implementation extension.

  • Risk: Should be pretty safe. In the worst case the new output is wrong, but the old output didn't parse at all.

  • Radar: Fixes rdar://problem/127120469.

  • Reviewed by: @tshortli

… extensions

A `let` here is really just a `var` with a `{ get }`.

Fixes rdar://problem/127120469.
@slavapestov slavapestov requested a review from a team as a code owner June 6, 2025 04:27
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov merged commit fa4c30e into swiftlang:release/6.2 Jun 6, 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.

2 participants