Skip to content

Commit 7330e7f

Browse files
committed
Convert Denotations to using clauses
1 parent 717bce7 commit 7330e7f

File tree

6 files changed

+289
-288
lines changed

6 files changed

+289
-288
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class BTypesFromSymbols[I <: DottyBackendInterface](val int: I) extends BTypes {
233233
toDenot(innerClassSym).owner.enclosingClass
234234
}
235235
}
236-
else innerClassSym.enclosingClass(ctx.withPhase(ctx.flattenPhase.prev))
236+
else innerClassSym.enclosingClass(using ctx.withPhase(ctx.flattenPhase.prev))
237237
} //todo is handled specially for JavaDefined symbols in scalac
238238

239239
val enclosingClass: ClassBType = classBTypeFromSymbol(enclosingClassSym)

0 commit comments

Comments
 (0)