aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dotty/tools/dotc/transform/PrivateToStatic.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/PrivateToStatic.scala b/src/dotty/tools/dotc/transform/PrivateToStatic.scala
index 14fa45a6f..5562fc6b2 100644
--- a/src/dotty/tools/dotc/transform/PrivateToStatic.scala
+++ b/src/dotty/tools/dotc/transform/PrivateToStatic.scala
@@ -78,7 +78,7 @@ class PrivateToStatic extends MiniPhase with SymTransformer { thisTransform =>
override def transformApply(tree: Apply)(implicit ctx: Context, info: TransformerInfo) =
tree.fun match {
case fun @ Select(qual, name) if shouldBeStatic(fun.symbol) =>
- println(i"mapping $tree to ${cpy.Ident(fun)(name)} (${qual :: tree.args}%, %)")
+ ctx.debuglog(i"mapping $tree to ${cpy.Ident(fun)(name)} (${qual :: tree.args}%, %)")
cpy.Apply(tree)(ref(fun.symbol).withPos(fun.pos), qual :: tree.args)
case _ =>
tree