From 94e2c9413def4c6545cfe38ed7b8a5b44bdd6456 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 25 Feb 2013 12:49:37 +0100 Subject: Completed implementation of Flags Including translation from Scala 2.x flags. --- src/dotty/tools/dotc/core/SymDenotations.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala') diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index f9ca96e97..a7ee385d0 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -881,7 +881,7 @@ object SymDenotations { class LazyModuleInfo(val mclass: ClassSymbol)(implicit cctx: CondensedContext) extends LazyType { def complete(denot: SymDenotation): Unit = { val from = denot.moduleClass.denot.asClass - denot.setFlag(from.flags.toTermFlags & RetainedModuleFlags) + denot.setFlag(from.flags.toTermFlags & RetainedModuleValFlags) denot.annotations = from.annotations filter (_.appliesToModule) denot.info = mclass.symbolicRef denot.privateWithin = from.privateWithin -- cgit v1.2.3