Open aishfenton opened 8 years ago
Thanks for the report! I'll try to find time to look into this.
In the meanwhile, consider using showRaw since it is more reliable. You will probably have to postprocess synthetic names, because some language constructs like while
do gensym, but personally I find showRaw more reliable.
Example of how while
works:
scala> q"while (true) {}"
res5: reflect.runtime.universe.LabelDef =
while$1(){
if (true)
{
();
while$1()
}
else
()
}
Thanks Xeno. Can confirm showRaw is working better for me.
Annotations cause equalsStructure to return false
Whereas this works as expected.
Also while loops seem to have the same issue, raised in a SO question here