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

reify shouldn't unexpand macros #6115

Closed
scabug opened this issue Jul 20, 2012 · 2 comments
Closed

reify shouldn't unexpand macros #6115

scabug opened this issue Jul 20, 2012 · 2 comments
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Jul 20, 2012

Firstly we can only undo tree transformations not the potential side-effects induced by macro implementations during the expansion.

Secondly (and more importantly from the practical point of view), when used as a quasiquoting facility, unexpanding reification will force nested macros to reexpand in a different lexical context, subverting hygiene.

@scabug
Copy link
Author

scabug commented Jul 20, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6115?orig=1
Reporter: @xeno-by

@SethTisue
Copy link
Member

closing all quasiquote tickets; see #10755

this isn't strictly a quasiquote-only ticket, but this stuff isn't really changing anymore. someone can comment and/or reopen if they disagree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants