Skip to content

Commit 96505c0

Browse files
committed
Don't need to call atPhase here
1 parent 2152bf5 commit 96505c0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -569,11 +569,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
569569
if (erasedTypeSym.isPrimitiveValueClass) {
570570
None
571571
} else {
572-
val jsOpt =
573-
ctx.atPhase(ctx.erasurePhase) { implicit ctx =>
574-
Erasure.javaSig(sym, memberTpe, _ => ())
575-
}
576-
572+
val jsOpt = Erasure.javaSig(sym, memberTpe, _ => ())
577573
if (ctx.settings.XverifySignatures.value) {
578574
jsOpt.foreach(verifySignature(sym, _))
579575
}

0 commit comments

Comments
 (0)