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

syntax/parse: Arrange for built-in macro’s names to be preserved #1911

Merged
merged 1 commit into from
Dec 13, 2017

Conversation

lexi-lambda
Copy link
Member

The dance that syntax/parse performs to lazily load its implementation rewrites uses of syntax/parse macros in such a way that their original names were discarded, which shows up in error messages. This arranges for users’ names to be preserved.

fixes #1909

The dance that syntax/parse performs to lazily load its implementation
rewrites uses of syntax/parse macros in such a way that their original
names were discarded, which shows up in error messages. By simply
invoking the underlying transformer directly in the proxy macro instead
of expanding to a rewritten use, users’ names can be preserved.

fixes racket#1909
Copy link
Collaborator

@rmculpepper rmculpepper left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@lexi-lambda lexi-lambda merged commit fb80d18 into racket:master Dec 13, 2017
@lexi-lambda lexi-lambda deleted the gh-issue-1909 branch December 13, 2017 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants