@AnAnnotation(Constants.X)
, namely AnnotationInfo.original
and with Scala-2.11 also AnnotationInfo.tree
. They look likeorig
, does not tell us that Ident(TermName("Constants")), TermName("X")
actually is test.Constants.X
, and in the second tree, tree
, the compiler already filled in the constant 42
, which does not help us very much ether.Ident(TermName("Constants")), TermName("X")
into Literal(Constant(42))
might help, as to do so it clearly has to find out that Ident(TermName("Constants")), TermName("X")
references test.Constants.X
.--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-interna...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-internals+unsubscribe@googlegroups.com.