aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dotty/tools/dotc/transform/LazyVals.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/LazyVals.scala b/src/dotty/tools/dotc/transform/LazyVals.scala
index 88d55c576..ed5c23f8c 100644
--- a/src/dotty/tools/dotc/transform/LazyVals.scala
+++ b/src/dotty/tools/dotc/transform/LazyVals.scala
@@ -74,7 +74,7 @@ class LazyVals extends MiniPhaseTransform with IdentityDenotTransformer with Nee
ctx.scala2Mode && {
if (ctx.settings.rewrite.value.isDefined)
patch(ctx.compilationUnit.source, Position(toUntyped(tree).envelope.start), "@volatile ")
- true // cannot assume volatile because of problems with compilestdlib. See #1149
+ false // cannot assume volatile because of problems with compilestdlib. See #1149
} ||
(sym.is(Flags.Module) && !sym.is(Flags.Synthetic)))
// module class is user-defined.