We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74ec188 commit 3da5448Copy full SHA for 3da5448
src/dotty/tools/dotc/transform/PrivateToStatic.scala
@@ -78,7 +78,7 @@ class PrivateToStatic extends MiniPhase with SymTransformer { thisTransform =>
78
override def transformApply(tree: Apply)(implicit ctx: Context, info: TransformerInfo) =
79
tree.fun match {
80
case fun @ Select(qual, name) if shouldBeStatic(fun.symbol) =>
81
- 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}%, %)")
82
cpy.Apply(tree)(ref(fun.symbol).withPos(fun.pos), qual :: tree.args)
83
case _ =>
84
tree
0 commit comments