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 fad1584 commit e466fa4Copy full SHA for e466fa4
compiler/src/dotty/tools/dotc/transform/LazyVals.scala
@@ -467,7 +467,6 @@ class LazyVals extends MiniPhase with IdentityDenotTransformer {
467
containerSymbol.addAnnotation(Annotation(defn.VolatileAnnot, containerSymbol.span)) // private @volatile var _x: AnyRef
468
containerSymbol.addAnnotations(x.symbol.annotations) // pass annotations from original definition
469
containerSymbol.removeAnnotation(defn.ScalaStaticAnnot)
470
- containerSymbol.resetFlag(JavaStatic)
471
val getOffset =
472
Select(ref(defn.LazyValsModule), lazyNme.RLazyVals.getOffsetStatic)
473
val containerTree = ValDef(containerSymbol, nullLiteral)
0 commit comments