Skip to content

Conversation

@jasonlyu123
Copy link
Member

@jasonlyu123 jasonlyu123 commented Jul 7, 2021

#969

Marking as a draft for now because I want to check what's the edge case I'm encountering before. Can't quite remember the problem and didn't found many problems now in the latest commit. The problem probably is when getAdditionalLocationsForRenameOfPropInsideOtherComponent returns the same rename as the original rename. When that happens the duplicate one is not checked thus there are some overlapping rename locations. Since renaming props might also need the check for the shorthand, I also apply the check to other files.

I also find another rename problem when props having __sveltets_1_any injected behind declaration in svelte2tsx. Maybe we can fix that in a separate PR.

@jasonlyu123 jasonlyu123 marked this pull request as ready for review July 8, 2021 07:49
Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

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

🎉

@dummdidumm dummdidumm merged commit 4c4d921 into sveltejs:master Jul 8, 2021
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