Skip to content

Commit 3da5448

Browse files
committed
Making print statement a debuglog
1 parent 74ec188 commit 3da5448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/transform/PrivateToStatic.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class PrivateToStatic extends MiniPhase with SymTransformer { thisTransform =>
7878
override def transformApply(tree: Apply)(implicit ctx: Context, info: TransformerInfo) =
7979
tree.fun match {
8080
case fun @ Select(qual, name) if shouldBeStatic(fun.symbol) =>
81-
println(i"mapping $tree to ${cpy.Ident(fun)(name)} (${qual :: tree.args}%, %)")
81+
ctx.debuglog(i"mapping $tree to ${cpy.Ident(fun)(name)} (${qual :: tree.args}%, %)")
8282
cpy.Apply(tree)(ref(fun.symbol).withPos(fun.pos), qual :: tree.args)
8383
case _ =>
8484
tree

0 commit comments

Comments
 (0)