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 e799ba9 commit b23f788Copy full SHA for b23f788
src/dotty/tools/dotc/transform/LazyVals.scala
@@ -73,7 +73,7 @@ class LazyVals extends MiniPhaseTransform with IdentityDenotTransformer with Nee
73
ctx.scala2Mode && {
74
if (ctx.settings.rewrite.value.isDefined)
75
patch(ctx.compilationUnit.source, Position(toUntyped(tree).envelope.start), "@volatile ")
76
- true // cannot assume volatile because of problems with compilestdlib. See #1149
+ false // cannot assume volatile because of problems with compilestdlib. See #1149
77
} ||
78
(sym.is(Flags.Module) && !sym.is(Flags.Synthetic)))
79
// module class is user-defined.
0 commit comments