summaryrefslogtreecommitdiff
path: root/test/files/run/macroPlugins-namerHooks.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macroPlugins-namerHooks.scala')
-rw-r--r--test/files/run/macroPlugins-namerHooks.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/macroPlugins-namerHooks.scala b/test/files/run/macroPlugins-namerHooks.scala
index b0f29cbbed..a71d685f7f 100644
--- a/test/files/run/macroPlugins-namerHooks.scala
+++ b/test/files/run/macroPlugins-namerHooks.scala
@@ -18,12 +18,12 @@ object Test extends DirectTest {
object macroPlugin extends MacroPlugin {
override def pluginsEnterSym(namer: Namer, tree: Tree): Boolean = {
output += s"enterSym(${tree.toString.replace('\n', ' ')})"
- namer.enterSym(tree)
+ namer.standardEnterSym(tree)
true
}
override def pluginsEnsureCompanionObject(namer: Namer, cdef: ClassDef, creator: ClassDef => Tree = companionModuleDef(_)): Option[Symbol] = {
output += s"ensureCompanionObject(${cdef.toString.replace('\n', ' ')}, ...)"
- Some(namer.ensureCompanionObject(cdef, creator))
+ Some(namer.standardEnsureCompanionObject(cdef, creator))
}
override def pluginsEnterStats(typer: Typer, stats: List[Tree]): List[Tree] = {
stats.foreach(stat => output += s"enterStat(${stat.toString.replace('\n', ' ')})")