-
Notifications
You must be signed in to change notification settings - Fork 92
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
Why are there long underscores before the names in the output code? #344
Comments
I would suspect that there were a lot of name clashes, and this safe rename code is what's doing it: humanify/src/plugins/local-llm-rename/visit-all-identifiers.ts Lines 42 to 54 in 7b85f9d
Some past discussion related to this feature here as well: Instead of just prefixing with And some other related issues/PRs: Also.. off the top of my head.. since we're tracking
While this can obviously make it easier to not have to think about scope rules/shadowing while quickly skimming through a file, in cases like this, it clearly makes things worse. This issue is tangentially related to that area of the code: |
Thank you for your reply. |
It might be worth leaving this issue open as a reminder that we could improve this based on some of the notes above. |
Input a segment:
output a segment:
The text was updated successfully, but these errors were encountered: