aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/CreateCompanionObjects.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/transform/CreateCompanionObjects.scala')
-rw-r--r--src/dotty/tools/dotc/transform/CreateCompanionObjects.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/transform/CreateCompanionObjects.scala b/src/dotty/tools/dotc/transform/CreateCompanionObjects.scala
index 8560b6f6d..f1131b3f2 100644
--- a/src/dotty/tools/dotc/transform/CreateCompanionObjects.scala
+++ b/src/dotty/tools/dotc/transform/CreateCompanionObjects.scala
@@ -19,13 +19,13 @@ import NameOps._
/** A transformer that provides a convenient way to create companion objects
*/
-abstract class CreateCompanionObjects(group: TreeTransformer, idx: Int) extends TreeTransform(group, idx) {
+abstract class CreateCompanionObjects extends TreeTransform {
import tpd._
/** Given class definition should return true if companion object creation should be enforced
*/
- def predicate(cls: TypeDef)(implicit ctx:Context): Boolean
+ def predicate(cls: TypeDef)(implicit ctx: Context): Boolean
override def transformStats(trees: List[Tree])(implicit ctx: Context, info: TransformerInfo): List[tpd.Tree] = {
@tailrec