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 81b5f84 commit e5f8697Copy full SHA for e5f8697
src/dotty/tools/dotc/transform/DropEmptyCompanions.scala
@@ -40,7 +40,7 @@ class DropEmptyCompanions extends MiniPhaseTransform { thisTransform =>
40
case TypeDef(_, impl: Template) if tree.symbol.is(SyntheticModule) &&
41
tree.symbol.companionClass.exists &&
42
impl.body.forall(_.symbol.isPrimaryConstructor) =>
43
- println(i"removing ${tree.symbol}")
+ ctx.log(i"removing ${tree.symbol}")
44
true
45
case _ =>
46
false
0 commit comments