File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -148,15 +148,7 @@ class Mixin extends MiniPhaseTransform with SymTransformer { thisTransform =>
148
148
if (baseCls.is(NoInitsTrait ) || defn.PhantomClasses .contains(baseCls)) Nil
149
149
else {
150
150
// println(i"synth super call ${baseCls.primaryConstructor}: ${baseCls.primaryConstructor.info}")
151
- superRef(baseCls.primaryConstructor).appliedToNone :: Nil
152
- /* constr.tpe.widen match {
153
- case tpe: PolyType =>
154
- val targs = cls.thisType.baseTypeWithArgs(baseCls).argTypes
155
- constr = constr.appliedToTypes(targs)
156
- case _ =>
157
- }
158
- constr.ensureApplied :: Nil
159
- */
151
+ transformFollowingDeep(superRef(baseCls.primaryConstructor).appliedToNone) :: Nil
160
152
}
161
153
}
162
154
You can’t perform that action at this time.
0 commit comments