Add link to corresponding issue in Scala issue tracker

This commit is contained in:
Martin Duhem 2014-04-08 23:18:48 +02:00
parent a80966e394
commit 062cd1c776
2 changed files with 2 additions and 0 deletions

View File

@ -150,6 +150,7 @@ final class Dependency(val global: CallbackGlobal) extends LocateClassFile
* Some macros appear to contain themselves as original tree
* In this case, we don't need to inspect the original tree because
* we already inspected its expansion, which is equal.
* See https://issues.scala-lang.org/browse/SI-8486
*/
case MacroExpansionOf(original) if original != tree =>
this.traverse(original)

View File

@ -59,6 +59,7 @@ class ExtractUsedNames[GlobalType <: CallbackGlobal](val global: GlobalType) ext
// Some macros seem to have themselves registered as original tree.
// In this case, we only need to handle the children of the original tree,
// because we already handled the expanded tree.
// See https://issues.scala-lang.org/browse/SI-8486
if(original == node) original.children.foreach(handleTreeNode)
else original.foreach(handleTreeNode)
}