Skip to content
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

feat: better suffixification in update and upgrade #4613

Merged
merged 10 commits into from Jan 15, 2024

Conversation

mitchellwrosen
Copy link
Member

Overview

This PR continues the work of #4589 and #4605. Now (in update and upgrade), when rendering a collection of definitions, names that resolve to something in the namespace (not the file) will suffixify "by hash" (the familiar suffixify algorithm). It's only names that resolve to something in the file itself that are suffixified "by name" (which produces slightly worse names, but is necessary because aliases can share suffixes).

Test coverage

See transcript updates for the gist of the user-facing changes.

@mitchellwrosen mitchellwrosen marked this pull request as ready for review January 12, 2024 18:39
Copy link
Contributor

@aryairani aryairani left a comment

Choose a reason for hiding this comment

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

Amazing 🚀

@aryairani aryairani added the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Jan 15, 2024
@mergify mergify bot merged commit 367684a into trunk Jan 15, 2024
7 checks passed
@mergify mergify bot deleted the 24-01-09-better-suffixification branch January 15, 2024 18:18
@mergify mergify bot removed the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Jan 15, 2024
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.

None yet

2 participants