Skip to content

refactor: Also include constructor ids in RenameUnnamed and reorganize_definitions#1744

Open
Rua wants to merge 1 commit intoimmunant:masterfrom
Rua:refactor-rename-unnamed-ctor
Open

refactor: Also include constructor ids in RenameUnnamed and reorganize_definitions#1744
Rua wants to merge 1 commit intoimmunant:masterfrom
Rua:refactor-rename-unnamed-ctor

Conversation

@Rua
Copy link
Copy Markdown
Contributor

@Rua Rua commented Apr 16, 2026

Constructors for tuple/unit structs have a separate ID from their parent item, so they need to be included or calls to those constructors are not renamed. There may be more issues like this in other parts of the refactorer, but these fixes were enough to get #1620 to pass the tests.

@Rua Rua force-pushed the refactor-rename-unnamed-ctor branch 5 times, most recently from 46569ed to eb03511 Compare April 17, 2026 15:16
@Rua Rua force-pushed the refactor-rename-unnamed-ctor branch from eb03511 to 891193b Compare April 17, 2026 18:31
@Rua Rua changed the title refactor: In RenameUnnamed, also include constructor ids refactor: Also include constructor ids in RenameUnnamed and reorganize_definitions Apr 17, 2026
@ahomescu ahomescu self-requested a review April 21, 2026 00:40
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.

Refactorer breaks imports

2 participants