Skip to content

Commit c94748f

Browse files
committed
Don't need to call atPhase here
1 parent 5d67d90 commit c94748f

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
@@ -557,11 +557,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
557557
if (erasedTypeSym.isPrimitiveValueClass) {
558558
None
559559
} else {
560-
val jsOpt =
561-
ctx.atPhase(ctx.erasurePhase) { implicit ctx =>
562-
Erasure.javaSig(sym, memberTpe, _ => ())
563-
}
564-
560+
val jsOpt = Erasure.javaSig(sym, memberTpe, _ => ())
565561
if (ctx.settings.XverifySignatures.value) {
566562
jsOpt.foreach(verifySignature(sym, _))
567563
}

0 commit comments

Comments
 (0)