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 a711eef commit 6a8c490Copy full SHA for 6a8c490
compiler/src/dotty/tools/dotc/transform/AccessProxies.scala
@@ -49,6 +49,7 @@ abstract class AccessProxies {
49
/** Add all needed accessors to the `body` of class `cls` */
50
def addAccessorDefs(cls: Symbol, body: List[Tree])(implicit ctx: Context): List[Tree] = {
51
val accDefs = accessorDefs(cls)
52
+ transforms.println(i"add accessors for $cls: $accDefs%, %")
53
if (accDefs.isEmpty) body else body ++ accDefs
54
}
55
@@ -126,4 +127,4 @@ abstract class AccessProxies {
126
127
object AccessProxies {
128
def hostForAccessorOf(accessed: Symbol)(implicit ctx: Context): Symbol =
129
ctx.owner.ownersIterator.findSymbol(_.derivesFrom(accessed.owner))
-}
130
+}
0 commit comments