@@ -46,7 +46,7 @@ class LinkScala2Impls extends MiniPhase with IdentityDenotTransformer { thisTran
4646 // that's why it is runsAfterGroupOf
4747
4848 class Transform extends TreeTransform {
49- def phase = LinkScala2Impls
49+ def phase = thisTransform
5050
5151 /** Copy definitions from implementation class to trait itself */
5252 private def augmentScala_2_12_Trait (mixin : ClassSymbol )(implicit ctx : Context ): Unit = {
@@ -55,7 +55,7 @@ class LinkScala2Impls extends MiniPhase with IdentityDenotTransformer { thisTran
5555 name = if (sym.isConstructor) sym.name else ImplMethName (sym.name)
5656 )
5757 for (sym <- mixin.implClass.info.decls)
58- newImpl(sym.asTerm).enteredAfter(LinkScala2Impls )
58+ newImpl(sym.asTerm).enteredAfter(thisTransform )
5959 }
6060
6161 override def prepareForTemplate (impl : Template )(implicit ctx : Context ) = {
@@ -82,10 +82,10 @@ class LinkScala2Impls extends MiniPhase with IdentityDenotTransformer { thisTran
8282 }
8383
8484 private def implMethod (meth : Symbol )(implicit ctx : Context ): Symbol = {
85- val (implInfo, implName) =
86- if (meth.owner.is(Scala_2_12_Trait ))
85+ val (implInfo, implName) =
86+ if (meth.owner.is(Scala_2_12_Trait ))
8787 (meth.owner.info, ImplMethName (meth.name.asTermName))
88- else
88+ else
8989 (meth.owner.implClass.info, meth.name)
9090 if (meth.isConstructor)
9191 implInfo.decl(nme.TRAIT_CONSTRUCTOR ).symbol
0 commit comments