Skip to content

[Renaming] Keep parentheses on RenameCastRector#7153

Merged
samsonasik merged 4 commits intomainfrom
keep-pare
Aug 19, 2025
Merged

[Renaming] Keep parentheses on RenameCastRector#7153
samsonasik merged 4 commits intomainfrom
keep-pare

Conversation

@samsonasik
Copy link
Member

@samsonasik
Copy link
Member Author

It seems works on (int), but not works on (integer), re-create node may be needed.

@samsonasik
Copy link
Member Author

Fixed with set startTokenPos and endTokenPos to -1

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit fddd8c4 into main Aug 19, 2025
49 checks passed
@samsonasik samsonasik deleted the keep-pare branch August 19, 2025 14:28
@github-actions
Copy link
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RenameCastRector] removes necessary parentheses when renaming casts.

1 participant