File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ class SyntheticMethods extends MiniPhaseTransform with IdentityDenotTransformer
35
35
import ast .tpd ._
36
36
37
37
override def phaseName = " synthetics"
38
+ override def treeTransformPhase = thisTransformer.next
38
39
39
40
private var valueSymbols : List [Symbol ] = _
40
41
private var caseSymbols : List [Symbol ] = _
@@ -170,7 +171,7 @@ class SyntheticMethods extends MiniPhaseTransform with IdentityDenotTransformer
170
171
override def transformTemplate (impl : Template )(implicit ctx : Context , info : TransformerInfo ) =
171
172
if (ctx.owner.is(Case ) || isDerivedValueClass(ctx.owner))
172
173
cpy.Template (impl)(
173
- body = impl.body ++ syntheticMethods(ctx.owner.asClass)(ctx.withPhase(thisTransformer.next)) )
174
+ body = impl.body ++ syntheticMethods(ctx.owner.asClass))
174
175
else
175
176
impl
176
177
}
You can’t perform that action at this time.
0 commit comments