Skip to content

Fix unsafe expressions in NoAssignmentInExpressions #1021

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

kkebo
Copy link
Contributor

@kkebo kkebo commented May 15, 2025

fixes #977

refs: #533

Copy link
Member

@allevato allevato left a comment

Choose a reason for hiding this comment

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

Thanks!

@kkebo
Copy link
Contributor Author

kkebo commented May 15, 2025

I forgot to update the documentation comment.

@kkebo kkebo force-pushed the fix-unsafe-expr-no-assignment-in-expressions branch from 5601840 to 3af0030 Compare May 15, 2025 16:13
@kkebo
Copy link
Contributor Author

kkebo commented May 15, 2025

Sorry, I just pushed that change.

@allevato allevato merged commit adcbed1 into swiftlang:main May 15, 2025
21 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.

swift-format still can't treat unsafe expressions correctly in some cases
2 participants