We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5b064 commit 213044aCopy full SHA for 213044a
src/dotty/tools/backend/jvm/DottyBackendInterface.scala
@@ -640,7 +640,7 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{
640
val original = toDenot(sym).initial
641
val validity = original.validFor
642
val shiftedContext = ctx.withPhase(validity.phaseId)
643
- toDenot(sym)(shiftedContext).isStatic
+ toDenot(sym)(shiftedContext).isStatic(shiftedContext)
644
}
645
646
def isStaticConstructor: Boolean = isStaticMember && isClassConstructor
0 commit comments