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