diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-28 12:50:58 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-30 14:26:09 +0200 |
commit | 9bf697cd31a3897735cd9bcca258ac0ebd8c7f8a (patch) | |
tree | 8a1adf5373aa2d8769a782322d26abf3c6040a70 | |
parent | 4e277dcf4b60931776f6d38f6545382777de8891 (diff) | |
download | dotty-9bf697cd31a3897735cd9bcca258ac0ebd8c7f8a.tar.gz dotty-9bf697cd31a3897735cd9bcca258ac0ebd8c7f8a.tar.bz2 dotty-9bf697cd31a3897735cd9bcca258ac0ebd8c7f8a.zip |
LazyVals: last fix that allows to compile -deep dotc.
-rw-r--r-- | src/dotty/tools/dotc/transform/LazyVals.scala | 2 |
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 151eb5192..596d10050 100644 --- a/src/dotty/tools/dotc/transform/LazyVals.scala +++ b/src/dotty/tools/dotc/transform/LazyVals.scala @@ -321,7 +321,7 @@ class LazyVals extends MiniPhaseTransform with IdentityDenotTransformer { case None => offsetSymbol = ctx.newSymbol(companion.moduleClass, (StdNames.nme.LAZY_FIELD_OFFSET + "0").toTermName, Flags.Synthetic, defn.LongType).enteredAfter(this) val flagName = (StdNames.nme.BITMAP_PREFIX + "0").toTermName - val flagSymbol = ctx.newSymbol(claz, flagName, containerFlags, defn.LongType).entered + val flagSymbol = ctx.newSymbol(claz, flagName, containerFlags, defn.LongType).enteredAfter(this) flag = ValDef(flagSymbol, Literal(Constants.Constant(0L))) val offsetTree = ValDef(offsetSymbol, getOffset.appliedTo(thizClass, Literal(Constant(flagName.toString)))) appendOffsetDefs += (companion.moduleClass -> new OffsetInfo(List(offsetTree), ord)) |