-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
"Rename" refactor does not work on tuple fields #19578
Comments
💭 I see other past bugs related to renaming tuple elements, but none that I can claim is a duplicate of this. Seems the current status of this feature is it's known to not work and supposed to show a dialog telling you so, but seems you saw a crash instead. Makes me wonder if someone tried to implement the functionality but missed this case. |
Two things:
|
The thing is that I get code reported that is not valid. It's ok for a rename not working on invalid code. But that shouldn't be done via an unhandled exception :). |
Got a bug report:
Refactoring of a tuple, does not update the tuple values:
Refactoring
rune
above to a new name does not update the code below.My use case was:
Got an exception on rename:
The text was updated successfully, but these errors were encountered: