@@ -13,7 +13,7 @@ import dotty.tools.dotc.ast.tpd
1313import dotty .tools .dotc .ast .Trees
1414import dotty .tools .dotc .core .Annotations ._
1515import dotty .tools .dotc .core .Constants ._
16- import dotty .tools .dotc .core .Contexts .Context
16+ import dotty .tools .dotc .core .Contexts .{ Context , atPhase }
1717import dotty .tools .dotc .core .Decorators ._
1818import dotty .tools .dotc .core .Flags ._
1919import dotty .tools .dotc .core .Names .Name
@@ -478,7 +478,7 @@ trait BCodeHelpers extends BCodeIdiomatic with BytecodeWriters {
478478 * @see https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.3.4
479479 */
480480 def getGenericSignature (sym : Symbol , owner : Symbol ): String = {
481- ctx. atPhase(ctx.erasurePhase) {
481+ atPhase(ctx.erasurePhase) {
482482 val memberTpe =
483483 if (sym.is(Method )) sym.denot.info
484484 else owner.denot.thisType.memberInfo(sym)
@@ -913,7 +913,7 @@ trait BCodeHelpers extends BCodeIdiomatic with BytecodeWriters {
913913 // But for now, just like we did in mixin, we just avoid writing a wrong generic signature
914914 // (one that doesn't erase to the actual signature). See run/t3452b for a test case.
915915
916- val memberTpe = ctx. atPhase(ctx.erasurePhase) { moduleClass.denot.thisType.memberInfo(sym) }
916+ val memberTpe = atPhase(ctx.erasurePhase) { moduleClass.denot.thisType.memberInfo(sym) }
917917 val erasedMemberType = TypeErasure .erasure(memberTpe)
918918 if (erasedMemberType =:= sym.denot.info)
919919 getGenericSignatureHelper(sym, moduleClass, memberTpe).orNull
0 commit comments