We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the following macro definition
def mkInt = macro mkIntImpl def mkIntImpl(c: Context): c.Expr[Any] = { println(c.enclosingApplication) c.reify{ 23 } }
I would expect something other than EmptyTree to be returned in the body of the macro when applied like so,
val i1 = mkInt val i2 = identity(mkInt)
However in both cases the result is EmptyTree.
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5695?orig=1 Reporter: @milessabin Affected Versions: 2.10.0
Sorry, something went wrong.
@phaller said: Test file in pending/run (see pull request #485.
@adriaanm said: scala/scala#935
xeno-by
No branches or pull requests
Given the following macro definition
I would expect something other than EmptyTree to be returned in the body of the macro when applied like so,
However in both cases the result is EmptyTree.
The text was updated successfully, but these errors were encountered: