Skip to content

macroexpand: stop pre-running the hygiene pass #49793

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented May 12, 2023

This prepares us to delete the separate hygiene pass, and make it part of lowering resolve-scopes. This affects a few macros which expect to run macroexpand then mangle the result more, and the result of those macros is not already wrapped in esc(). The damage seems relatively minor however, and generally a good improvement.

@vtjnash vtjnash added macros @macros minor change Marginal behavior change acceptable for a minor release labels May 12, 2023
@vtjnash vtjnash requested a review from JeffBezanson May 12, 2023 16:35
@vtjnash
Copy link
Member Author

vtjnash commented May 16, 2023

@nanosoldier runtests()

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected.
A full report can be found here.

@vtjnash
Copy link
Member Author

vtjnash commented May 18, 2023

Some findings so far (to be updated):

@vtjnash vtjnash marked this pull request as draft May 19, 2023 23:33
This prepares us to delete the separate hygiene pass, and make it part
of lowering resolve-scopes. This affects a few macros which expect to
run macroexpand then mangle the result more, and the result of those
macros is not already wrapped in `esc()`. The damage seems relatively
minor however, and generally a good improvement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macros @macros minor change Marginal behavior change acceptable for a minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants